Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2208 closed defect (fixed)

[patch] Allow filter arguments to be empty strings

Reported by: mattmcc Owned by: adrian
Component: Template system Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I'm not sure if it makes sense in all cases, but the case that brought it up was finding out that you can't do {{ var|join:"" }}. As a hack, you can do {{ var|join:nonexistantvar }}, but it seems like passing "" as the arg should be allowed.

Attachments (1)

filter-arg-emptystring.diff (678 bytes) - added by mattmcc 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by mattmcc

comment:1 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [3852]) Fixed #2208 -- Allow empty arguments to be passed to filters. Thanks, mattmcc.

Note: See TracTickets for help on using tickets.
Back to Top