From c1274b0df4a2e1c9bab126ae72c7acf6bdf8e4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Fri, 19 Jan 2024 12:33:07 +0100 Subject: [PATCH] fix date --- shared/models/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/models/main.py b/shared/models/main.py index 94a82f42..43c0d291 100644 --- a/shared/models/main.py +++ b/shared/models/main.py @@ -470,7 +470,7 @@ class MainArticlesPageMixin( ) first_day_of_target_month = target_date.replace(day=1) - filter = models.Q(date__gte=first_day_of_target_month) & search_filter + filter = models.Q(timestamp__gte=first_day_of_target_month) & search_filter sorted_article_qs = self.get_base_shared_articles_query(filter) -- GitLab