The other day we were testing custom filters on a search page, and it was pretty annoying that every time we saved the form it redirected us back to the environment overview page. Adding a "Save and Edit" button would make tasks like this a lot simpler by allowing search administrators to save and test changes more easily.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 1717628-12.patch | 4.59 KB | nick_vh |
| #10 | 1717628-10.patch | 1.08 KB | pwolanin |
| #7 | 1717628-7.patch | 1.52 KB | nick_vh |
| #3 | 1717628-3.patch | 2.75 KB | nick_vh |
| #2 | 1717628-2.patch | 2.99 KB | nick_vh |
Comments
Comment #1
soyarma commented+1000
Comment #2
nick_vhAdds some duplicate code for path redirect, but it works as expected. On a save it gets returned to the admin page with the listing. On safe and edit it returns the the current_path, whatever that might be.
Comment #3
nick_vhstupid whitespaces
Comment #4
nick_vhCommitted to 7.x-1.x, needs backport
Comment #5
cpliakas commentedTotally awesome! Great work.
Comment #6
pwolanin commentedI'm seeing the normal "save" as broken now in 7.x - it keeps me on the same page.
Comment #7
nick_vhComment #8
nick_vhCommitted to D7, moving back to needs backport for 6.x-3.x
Comment #9
pwolanin commented'op' is deprecated.
Comment #10
pwolanin commentedhow about this?
Comment #11
pwolanin commentedcommitted to 7.x
Comment #12
nick_vhbackported to 6.x-3.x - that destination param is a sh*t thing in D6. Patch I posted has been manually and programmatically tested.
Comment #13
nick_vhcommitted