Skip to content

Commit

Permalink
update filters
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Aug 13, 2024
1 parent cc1f9be commit 8259109
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,21 @@
NOTIFY_MATCHING_USERS = "cancel"

AGENDA_TIME_FILTERS = [
{"name": lazy_gettext("Next 7 days"), "query": "now7d/d"},
{"name": lazy_gettext("Next 30 days"), "query": "now30d/d"},
{"name": lazy_gettext("Next 3 months"), "query": "now3M/M"},
{"name": lazy_gettext("Next 12 months"), "query": "now12M/M", "default": True},
{"name": lazy_gettext("Next 7 days"), "filter": "next_7_days", "query": "now+7d/d"},
{
"name": lazy_gettext("Next 30 days"),
"filter": "next_30_days",
"query": "now+30d/d",
},
{
"name": lazy_gettext("Next 3 months"),
"filter": "next_3_months",
"query": "now+90d/d",
},
{
"name": lazy_gettext("Next 12 months"),
"filter": "next_12_months",
"query": "now+12M/M",
"default": True,
},
]

0 comments on commit 8259109

Please sign in to comment.