#24426: Admin actions panel is always hidden if show_full_result_count = False
-------------------------------+----------------------
     Reporter:  shultais       |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  contrib.admin  |    Version:  1.8beta1
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+----------------------
 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

--
Ticket URL: <https://code.djangoproject.com/ticket/24426>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.6a5375270e5c5e4621e93592df026902%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to