Lines 737-747
if ($frameworkcode eq 'FA'){
Link Here
|
737 |
'stickyduedate' => $fa_stickyduedate, |
737 |
'stickyduedate' => $fa_stickyduedate, |
738 |
'duedatespec' => $fa_duedatespec, |
738 |
'duedatespec' => $fa_duedatespec, |
739 |
); |
739 |
); |
740 |
} elsif ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' && !$breedingid ) { |
740 |
} elsif ( $op ne "delete" && |
|
|
741 |
C4::Context->preference('EnableAdvancedCatalogingEditor') && |
742 |
C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && |
743 |
$input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' && |
744 |
!$breedingid ) { |
741 |
# Only use the advanced editor for non-fast-cataloging. |
745 |
# Only use the advanced editor for non-fast-cataloging. |
742 |
# breedingid is not handled because those would only come off a Z39.50 |
746 |
# breedingid is not handled because those would only come off a Z39.50 |
743 |
# search initiated by the basic editor. |
747 |
# search initiated by the basic editor. |
744 |
print $input->redirect( '/cgi-bin/koha/cataloguing/editor.pl' . ( $biblionumber ? ( '#catalog/' . $biblionumber ) : '' ) ); |
748 |
print $input->redirect( '/cgi-bin/koha/cataloguing/editor.pl' . ( $biblionumber ? ( ($op eq 'duplicate'?'#duplicate/':'#catalog/') . $biblionumber ) : '' ) ); |
745 |
exit; |
749 |
exit; |
746 |
} |
750 |
} |
747 |
|
751 |
|