From 52ade1d437a1e6e7e0b3c6c022bfe75cb9f3b714 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Mon, 23 May 2011 03:34:07 -0400 Subject: [PATCH] Bug 5939: "Save and edit items" button broken When modifying an existing biblio, the "Save and edit items" option in the "Save" menu did not redirect to the edit items screen. Instead, it redirected to the regular details screen. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- cataloguing/addbiblio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index da5816613b..cd5691e3c7 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -933,7 +933,7 @@ if ( $op eq "addbiblio" ) { else { ( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode ); } - if ($mode ne "popup" && !$is_a_modif && $redirect eq "items"){ + if ($redirect eq "items" || ($mode ne "popup" && !$is_a_modif && $redirect ne "view")){ print $input->redirect( "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode" ); -- 2.39.2