Bug 16358: Do not redirect to the editor when deleting records
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Sep 2016 14:03:55 +0000 (15:03 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 24 Oct 2016 10:32:00 +0000 (12:32 +0200)
commit5bb0978f1bff9fc1b04e072ea3bd190a32db731b
treeb2e470b7d949cd435007dc03003f82aed05af3ef
parent8e5440b01baa402ea826e7a107586c2f94a5e0d2
Bug 16358: Do not redirect to the editor when deleting records

The "Delete record" button goes to addbiblio.pl?op=delete, which
incorrectly redirects to Rancor when selected.

Test plan:
0/ Enable EnableAdvancedCatalogingEditor
1/ Edit a record
2/ Switch to the Advanced editor
3/ click on "View the record"
4/ Delete the record
=> Without this patch you are redirected to the editor
=> With this patch you are redirected to the advanced search

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ba8ee98e1bb3b18f579c0b122b14d43e88cda2c8)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 537d7d9fa4650aa35b8e20cbaf0cad7f7a4d2ba4)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
cataloguing/addbiblio.pl