Opened 17 years ago

Last modified 4 years ago

#6903 closed

Go back to old change_list view after hitting save — at Version 4

Reported by: Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords: admin
Cc: Joshua Cender, Marc Remolt, ramusus@…, Salva Pinyol, marcoberi@…, Johannes Bornhold, hr.bjarni+django@…, rob@…, empty, riccardo.magliocchetti@…, michelts@…, odin.omdal@…, danny.adair@…, Julien Bouquillon, Andy Baker, kraken, tomek@…, Simon Charette, honyczek@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: yes

Description (last modified by Ramiro Morales)

When editing something via the admin I could observe a recurring usage pattern on myself:

  1. Search for something (e.g. by time, filter, phrase) wanting to edit them all or just go through the pages till I found a certain timespan
  2. Edit
  3. Hit save
  4. Hit the back button two times to get my former list
  5. Repeat with 2. :)

While this may be ok for myself my client is protesting ;) So I thought I'll hack it. But then again, isn't the desired behaviour to go back to the exact collection of stuff in the change list that was there before anyway?

So I'd like to propose to change that. I'm happy to try and write a patch for it, if this get's accepted.

Cheers!

Jonas

Change History (4)

comment:1 by Karen Tracey <kmtracey@…>, 17 years ago

Keywords: nfa-someday added
Triage Stage: UnreviewedDesign decision needed

This has been requested before, see for example #3777. That was closed by submitter after an alternate method was shown that didn't involve changing Django code. I haven't tried it so don't know if it's still directly applicable to newforms-admin but it might give you an idea of an approach.

comment:2 by , 17 years ago

Ah, I'll look into the patch. Thx! I still think this should be the default behaviour. The question ist: Why wouldn't I want the filters to be persistent? IMHO the user expects this and not the automatic filter reset. Any thoughts?

comment:3 by Karen Tracey <kmtracey@…>, 17 years ago

I agree that preserving the filters is more user-friendly. Personally it doesn't bother me too much in Django admin but that's because I don't happen to use filters in admin that much. However when I run into it in other interfaces it tends to annoy me when some sort of item-edit page's "doit" button returns me to a list that differs from the one I came from to edit the object. So I'd be in favor of the change, but don't have much personal interest in it and think newforms-admin has bigger fish to fry at the moment (specifically anything blocking a merge to trunk).

comment:4 by Ramiro Morales, 16 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top