Bug 7227 - "Delete all items" action should redirect to the detail view, not the items view
Summary: "Delete all items" action should redirect to the detail view, not the items view
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: 3.6
Hardware: All All
: PATCH-Sent (DO NOT USE) trivial (vote)
Assignee: Owen Leonard
QA Contact: Ian Walls
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 16:28 UTC by Owen Leonard
Modified: 2013-12-05 19:57 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Proposed fix (1.75 KB, patch)
2011-11-15 16:54 UTC, Owen Leonard
Details | Diff | Splinter Review
Fix for Bug 7227, "Delete all items" action should redirect to the detail view (1.77 KB, patch)
2011-12-02 08:37 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.