#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.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701892b7418ad-51dd3941-0b9a-416e-92ba-dc164fedb07d-000000%40eu-central-1.amazonses.com.

Reply via email to