From cf3327daf5b5e4d5d26f7e86af424bf22a5bc85f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Thu, 21 Dec 2023 11:10:49 +0100
Subject: [PATCH] fix article loading

---
 main/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/models.py b/main/models.py
index 75891673..59f9453b 100644
--- a/main/models.py
+++ b/main/models.py
@@ -413,7 +413,7 @@ class MainArticlesPage(
         target_date = target_date_list[0] - relativedelta(months=months_back)
         first_day_of_target_month = target_date.replace(day=1)
 
-        filter = models.Q(date__gt=first_day_of_target_month) & search_filter
+        filter = models.Q(date__gte=first_day_of_target_month) & search_filter
 
         sorted_article_qs = self.get_base_shared_articles_query(filter)
 
-- 
GitLab