From 85579daf57945ca46eeb2dc9630986819be40100 Mon Sep 17 00:00:00 2001 From: GitInno <86991526+gitnnolabs@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:32:33 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20filtro=20por=20ano=20na=20indexa=C3=A7?= =?UTF-8?q?=C3=A3o=20dos=20dados=20de=20artigos.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article/search_indexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/article/search_indexes.py b/article/search_indexes.py index 23d71121..3b4c790b 100644 --- a/article/search_indexes.py +++ b/article/search_indexes.py @@ -272,4 +272,4 @@ def get_model(self): return models.Article def index_queryset(self, using=None): - return self.get_model().objects.filter(year=2020) + return self.get_model().objects.all()