#2672 closed enhancement (wontfix)
After clicking "Save" in admin, does not return to last paginated page
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently I have 3 pages of objects in my admin. I've ordered my objects in such a way that when I edit a group of objects they are near each other. So when I save I'd like to be returned to the previous page of my object list. Currently it returns to the 1st page always.
I've tracked down where this is: line 274 in django/contrib/admin/views/main.py
We'd need to either pass the page into the change form (ex: ?p=2) and then pass it to the redirect, or store it as a session variable to pull back out and remove. Or some other option a Django developer can think of.
Marking this as a wontfix because I don't think this feature would be worth it.
If you want to keep the state of your paginated page, open the detail pages in a separate browser tab or browser window.