Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#622 closed enhancement (fixed)

Added a isnull filter

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


Added a isnull filter to be used instead of default for times when 0 in a numeric field has meaning

Attachments (1)

isnull.diff (631 bytes) - added by anonymous 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by anonymous

Attachment: isnull.diff added

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [859]) Fixed #622 -- Added default_if_none filter. Thanks, Eric

comment:2 Changed 13 years ago by Adrian Holovaty

Note that I ended up calling it default_if_none. isnull implies the filter returns a boolean, which this filter doesn't do.

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