#33083 closed Bug (fixed)
"Select All" in admin changelist does not work when both action_on_bottom and actions_on_top are True.
Reported by: | Benjamin Locher | Owned by: | Carlton Gibson |
---|---|---|---|
Component: | contrib.admin | Version: | 3.2 |
Severity: | Release blocker | Keywords: | actions_on_bottom, change_list, admin, actions, admin_actions, select_across, ModelAdmin, |
Cc: | Jon Dufresne, Carlton Gibson | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
For a Model Admin that has actions_on_bottom
set to True:
- Navigate to a changelist in the Django Admin
- Select any filters so that there is more than 1 page of results
- Click the "Select All" checkbox
- Click "Select all x x" link
- The field
<input type="hidden" name="select_across" value="0" class="select-across">
does not get set to 1 (remains at value=0) - Any action selected from the actions list is only performed on the first page of results rather than all the selected items
This bug appears to have begun in 3.2
Change History (6)
comment:1 Changed 2 years ago by
Cc: | Jon Dufresne Carlton Gibson added |
---|---|
Severity: | Normal → Release blocker |
Summary: | Clicking Select All in an admin change_list does not set `select_across` when `action_on_bottom` = True in ModelAdmin → "Select All" in admin changelist does not work when both action_on_bottom and actions_on_top are True. |
Triage Stage: | Unreviewed → Accepted |
comment:2 Changed 2 years ago by
Owner: | changed from nobody to Carlton Gibson |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Thanks for the report!
Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.