diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 28a734add9..1ec08269f6 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -117,6 +117,7 @@ my $import_batch_id = $input->param('import_batch_id'); # if this is filled, we my $from_subscriptionid = $input->param('from_subscriptionid'); my $data; my $new = 'no'; +my $op = $input->param('op') || q{}; our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( { @@ -173,7 +174,7 @@ if ( $ordernumber eq '' and defined $params->{'breedingid'}){ my $duplicatetitle; #look for duplicates ($biblionumber,$duplicatetitle) = FindDuplicate($marcrecord); - if($biblionumber && !$input->param('use_external_source')) { + if($biblionumber && $op ne 'cud-use_external_source') { #if duplicate record found and user did not decide yet, first warn user #and let them choose between using a new record or an existing record Load_Duplicate($duplicatetitle); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt index b3ceaee804..efddbbee1d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt @@ -67,13 +67,14 @@
-
+ + [% INCLUDE 'csrf-token.inc' %]

Create new record

Create a new record by importing the external (duplicate) record.

- +