AddBiblio Workflow edition
When in Edit Mode, when save is clicked, get back to the MARCdetail.pl and not to additem.pl
This commit is contained in:
parent
24f9da415b
commit
709e3be936
1 changed files with 9 additions and 2 deletions
|
@ -927,11 +927,18 @@ if ( $op eq "addbiblio" ) {
|
|||
( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode );
|
||||
}
|
||||
|
||||
if ($mode ne "popup"){
|
||||
if ($mode ne "popup" && !$is_a_modif){
|
||||
print $input->redirect(
|
||||
"/cgi-bin/koha/cataloguing/additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode"
|
||||
);
|
||||
exit;
|
||||
}
|
||||
elsif($is_a_modif){
|
||||
print $input->redirect(
|
||||
"/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode"
|
||||
);
|
||||
exit;
|
||||
|
||||
}else {
|
||||
$template->param(
|
||||
biblionumber => $biblionumber,
|
||||
|
|
Loading…
Reference in a new issue