Re: [Django] #34696: Actions selection counter gets cleared when using Chrome's back button (was: Actions selection counter gets cleared when using back button)

5 views
Skip to first unread message

Django

unread,
Jul 6, 2023, 9:46:19 AM7/6/23
to django-...@googlegroups.com
#34696: Actions selection counter gets cleared when using Chrome's back button
-------------------------------+--------------------------------------
Reporter: Cauê Thenório | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Cauê Thenório:

Old description:

> 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"

New description:

When using Chrome, 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"

Tested on MacOS Google Chrome Version 113.0.5672.12

--

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

Reply all
Reply to author
Forward
0 new messages