Bug 7180: (follow-up) fix regression on bug 6074
This patch ensures that bibs selected for ordering are marked as imported in their import batch. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
b8340153c4
commit
bfb88cc4e0
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,7 @@ if ($op eq ""){
|
|||
}
|
||||
}
|
||||
( $biblionumber, $bibitemnum ) = AddBiblio( $marcrecord, $cgiparams->{'frameworkcode'} || '' );
|
||||
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
|
||||
# 2nd add authorities if applicable
|
||||
if (C4::Context->preference("BiblioAddsAuthorities")){
|
||||
my $headings_linked =BiblioAutoLink($marcrecord, $cgiparams->{'frameworkcode'});
|
||||
|
@ -279,6 +280,8 @@ if ($op eq ""){
|
|||
my ( $biblionumber, $bibitemnum, $itemnumber ) = AddItemFromMarc( $record, $biblionumber );
|
||||
NewOrderItem( $itemnumber, $ordernumber );
|
||||
}
|
||||
} else {
|
||||
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
|
||||
}
|
||||
}
|
||||
# go to basket page
|
||||
|
|
Loading…
Reference in a new issue