|
Lines 163-169
if ($op eq ""){
Link Here
|
| 163 |
my $c_sort1 = shift( @sort1 ) || $input->param('all_sort1') || ''; |
163 |
my $c_sort1 = shift( @sort1 ) || $input->param('all_sort1') || ''; |
| 164 |
my $c_sort2 = shift( @sort2 ) || $input->param('all_sort2') || ''; |
164 |
my $c_sort2 = shift( @sort2 ) || $input->param('all_sort2') || ''; |
| 165 |
|
165 |
|
| 166 |
# 1st insert the biblio, or find it through matcher |
166 |
# Insert the biblio, or find it through matcher |
| 167 |
unless ( $biblionumber ) { |
167 |
unless ( $biblionumber ) { |
| 168 |
if ($matcher_id) { |
168 |
if ($matcher_id) { |
| 169 |
if ( $matcher_id eq '_TITLE_AUTHOR_' ) { |
169 |
if ( $matcher_id eq '_TITLE_AUTHOR_' ) { |
|
Lines 194-203
if ($op eq ""){
Link Here
|
| 194 |
} |
194 |
} |
| 195 |
( $biblionumber, $bibitemnum ) = AddBiblio( $marcrecord, $cgiparams->{'frameworkcode'} || '' ); |
195 |
( $biblionumber, $bibitemnum ) = AddBiblio( $marcrecord, $cgiparams->{'frameworkcode'} || '' ); |
| 196 |
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); |
196 |
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); |
| 197 |
# 2nd add authorities if applicable |
|
|
| 198 |
if (C4::Context->preference("BiblioAddsAuthorities")){ |
| 199 |
my $headings_linked =BiblioAutoLink($marcrecord, $cgiparams->{'frameworkcode'}); |
| 200 |
} |
| 201 |
} else { |
197 |
} else { |
| 202 |
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); |
198 |
SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); |
| 203 |
} |
199 |
} |