From 60e2f3e2d9eb7744b706b083f226d653fac44f4f Mon Sep 17 00:00:00 2001 From: devketanpro Date: Fri, 9 Aug 2024 18:57:28 +0530 Subject: [PATCH] Update agenda filters [CPCN-910] --- server/settings.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/server/settings.py b/server/settings.py index 6968b96..467d21c 100644 --- a/server/settings.py +++ b/server/settings.py @@ -415,13 +415,8 @@ NOTIFY_MATCHING_USERS = "cancel" AGENDA_TIME_FILTERS = [ - {"name": lazy_gettext("Last 24 hours"), "query": "now-24h/h"}, - { - "name": lazy_gettext("Last 7 days"), - "query": "now-7d/d", - }, - { - "name": lazy_gettext("Last 30 days"), - "query": "now-30d/d", - }, + {"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}, ]