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)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 12:58:50 +0000 (14:58 +0200)
commit537d7d9fa4650aa35b8e20cbaf0cad7f7a4d2ba4
tree0f754297455d5751855265723fb48b2671a13047
parent87d7fafaef82408ee296c5b7f5ca880048807b07
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>
cataloguing/addbiblio.pl