#1108 closed enhancement (wontfix)
[patch] if a IN b filter
Description ¶
I've been missing the If In
functinality in the templating system. Attached is an in_ fiter that adds that functionality.
Returns True if a
is found in list b
. False if not found.
{{ a|in:b }}or {{ isThisValue|in:thisListOfValues }}
Change History (2)
by , 19 years ago
Attachment: | defaultFilters.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is out of the score of the default template filters.
Note:
See TracTickets
for help on using tickets.
defaultFilters diff that adds an
in
filter {{ifValue|in:myList}}