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()