X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/28f2c56226ccce81a705d9a7c5dc4ba122ea0b7f..8a2ce53a8f28f4610224b7a453a0e19d3cebd92c:/apps/dictionary/views.py diff --git a/apps/dictionary/views.py b/apps/dictionary/views.py index a2a814b03..4208d9b4c 100755 --- a/apps/dictionary/views.py +++ b/apps/dictionary/views.py @@ -16,7 +16,7 @@ class NotesView(ListView): objects = objects.filter(sort_key__regex=r"^[0-9]") elif self.letter: objects = objects.filter(sort_key__startswith=self.letter) - return ListView.get_queryset(self) + return objects def get_context_data(self, **kwargs): context = super(NotesView, self).get_context_data(**kwargs)