[Django] #34696: Actions selection counter gets cleared when using back button

17 views
Skip to first unread message

Django

unread,
Jul 6, 2023, 9:41:03 AM7/6/23
to django-...@googlegroups.com
#34696: Actions selection counter gets cleared when using back button
-----------------------------------------+------------------------
Reporter: cauethenorio | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
In Admin's change list page, the actions selection counter (e.g. "99 of
100 selected") will be reset/get out of sync if the user leaves the page
and then returns via the browser's back button but the rows will continue
selected.

Steps to reproduce:
1. Open the admin's change list page
1. Select some rows, e.g. 10 rows
1. The selection counter text will display "99 of X selected"
1. Click on any link to navigate to another page
1. Click the browser's back button
1. The 10 rows will continue selected

What happens:
- The selection counter text will wrongly display "0 of X selected"

What should happen:
- The selection counter text should display "10 of X selected"

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

Reply all
Reply to author
Forward
0 new messages