Bug 7227

Summary: "Delete all items" action should redirect to the detail view, not the items view
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: trivial    
Priority: PATCH-Sent (DO NOT USE) CC: chris, paul.poulain
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed fix
Fix for Bug 7227, "Delete all items" action should redirect to the detail view

Description Owen Leonard 2011-11-15 16:28:57 UTC
If you "Delete all items" from the catalog toolbar, upon completion you're redirected to catalogue/moredetail.pl. This doesn't make sense because moredetail.pl is designed to display information about items. If you've deleted all items there's nothing relevant to see. You should instead be redirected to the default biblio view.
Comment 1 Owen Leonard 2011-11-15 16:54:00 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2011-12-02 08:37:22 UTC
Created attachment 6513 [details] [review]
Fix for Bug 7227, "Delete all items" action should redirect to the detail view

Using the delete all items function should now redirect back to the
biblio view specified in the BiblioDefaultView system preference.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Comment 3 Paul Poulain 2011-12-14 15:21:41 UTC
QA comment: small patch, perlcritic still OK after applying it

patch pushed, please test
Comment 4 Jared Camins-Esakov 2012-05-23 12:15:34 UTC
Included in 3.6 prior to 3.6.5.