#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 |
Description
Added a isnull filter to be used instead of default for times when 0 in a numeric field has meaning
Attachments (1)
Change History (3)
by , 20 years ago
| Attachment: | isnull.diff added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 20 years ago
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.
(In [859]) Fixed #622 -- Added default_if_none filter. Thanks, Eric