Admin actions panel is always hidden if show_full_result_count = False
django.contrib.admin.views.main.py
if self.model_admin.show_full_result_count:
if self.get_filters_params() or self.params.get(SEARCH_VAR):
full_result_count = self.root_queryset.count()
else:
full_result_count = result_count
else:
full_result_count = None
if show_full_result_count is False then full_result_count = None
self.show_full_result_count = self.model_admin.show_full_result_count
...
self.show_admin_actions = self.show_full_result_count or bool(full_result_count)
But show_full_result_count is False and bool(full_result_count) is also False
self.show_admin_actions is always hidden
Change History
(5)
Severity: |
Normal → Release blocker
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Bug
|
Owner: |
changed from nobody to Tim Graham
|
Status: |
new → assigned
|
Has patch: |
set
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Release blocker since it's a bug in a new feature in 1.8 (
ModelAdmin.show_full_result_count
).