Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions form is disappeared under the list when I set show_full_result_count = False for a model admin. #761

Open
Ibrohimbek opened this issue Jul 10, 2020 · 0 comments

Comments

@Ibrohimbek
Copy link

I wanted to switch of counting for a big model in the admin panel. When I set show_full_result_count = False for the model admin actions form disappeared from the list page. I think this a bug. The form does not disappear in this case with standard Django admin.
Then I found these lines from the source:

{% if action_form and actions_on_top and cl.full_result_count %}
  {% admin_actions %}{% endif %}
{% result_list_with_context cl %}

{% if action_form and actions_on_bottom and cl.full_result_count %}
  {% admin_actions %}{% endif %}

Could you please take out for checking for full_results_count on adding admin actions?

@Ibrohimbek Ibrohimbek changed the title Actions form is removed under the list when I set show_full_result_count = False for a model admin. Actions form is disappeared under the list when I set show_full_result_count = False for a model admin. Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant