Opened 16 months ago

Last modified 16 months ago

#34696 closed Cleanup/optimization

Actions selection counter gets cleared when using Chrome's back button — at Version 1

Reported by: Cauê Thenório Owned by: nobody
Component: contrib.admin Version: 4.2
Severity: Normal Keywords:
Cc: Marcelo Galigniana Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Cauê Thenório)

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
  2. Select some rows, e.g. 10 rows
  3. The selection counter text will display "99 of X selected"
  4. Click on any link to navigate to another page
  5. Click the browser's back button
  6. 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

Change History (1)

comment:1 by Cauê Thenório, 16 months ago

Description: modified (diff)
Summary: Actions selection counter gets cleared when using back buttonActions selection counter gets cleared when using Chrome's back button
Note: See TracTickets for help on using tickets.
Back to Top