We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b67f55 commit e5abbe8Copy full SHA for e5abbe8
haystack/admin.py
@@ -33,7 +33,7 @@ def get_results(self, request):
33
paginator = Paginator(sqs, self.list_per_page)
34
# Get the number of objects, with admin filters applied.
35
result_count = paginator.count
36
- full_result_count = result_count
+ full_result_count = SearchQuerySet().models(self.model).all().count()
37
38
can_show_all = result_count <= MAX_SHOW_ALL_ALLOWED
39
multi_page = result_count > self.list_per_page
0 commit comments