|
Lines 334-340
sub import_batches_list {
Link Here
|
| 334 |
if (scalar @$stagedList) { |
334 |
if (scalar @$stagedList) { |
| 335 |
push @list, { |
335 |
push @list, { |
| 336 |
import_batch_id => $batch->{'import_batch_id'}, |
336 |
import_batch_id => $batch->{'import_batch_id'}, |
| 337 |
num_biblios => $batch->{'num_records'}, |
337 |
num_records => $batch->{'num_records'}, |
| 338 |
num_items => $batch->{'num_items'}, |
338 |
num_items => $batch->{'num_items'}, |
| 339 |
staged_date => $batch->{'upload_timestamp'}, |
339 |
staged_date => $batch->{'upload_timestamp'}, |
| 340 |
import_status => $batch->{'import_status'}, |
340 |
import_status => $batch->{'import_status'}, |
|
Lines 404-415
sub import_biblios_list {
Link Here
|
| 404 |
|
404 |
|
| 405 |
push @list, \%cellrecord; |
405 |
push @list, \%cellrecord; |
| 406 |
} |
406 |
} |
| 407 |
my $num_biblios = $batch->{'num_records'}; |
407 |
my $num_records = $batch->{'num_records'}; |
| 408 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
408 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
| 409 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
409 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
| 410 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
410 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
| 411 |
$template->param(biblio_list => \@list, |
411 |
$template->param(biblio_list => \@list, |
| 412 |
num_results => $num_biblios, |
412 |
num_results => $num_records, |
| 413 |
import_batch_id => $import_batch_id, |
413 |
import_batch_id => $import_batch_id, |
| 414 |
"overlay_action_${overlay_action}" => 1, |
414 |
"overlay_action_${overlay_action}" => 1, |
| 415 |
overlay_action => $overlay_action, |
415 |
overlay_action => $overlay_action, |
|
Lines 428-434
sub batch_info {
Link Here
|
| 428 |
comments => $batch->{'comments'}, |
428 |
comments => $batch->{'comments'}, |
| 429 |
import_status => $batch->{'import_status'}, |
429 |
import_status => $batch->{'import_status'}, |
| 430 |
upload_timestamp => $batch->{'upload_timestamp'}, |
430 |
upload_timestamp => $batch->{'upload_timestamp'}, |
| 431 |
num_biblios => $batch->{'num_records'}, |
431 |
num_records => $batch->{'num_records'}, |
| 432 |
num_items => $batch->{'num_items'}); |
432 |
num_items => $batch->{'num_items'}); |
| 433 |
if ($batch->{'num_records'} > 0) { |
433 |
if ($batch->{'num_records'} > 0) { |
| 434 |
if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') { |
434 |
if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') { |