|
Lines 356-362
sub import_batches_list {
Link Here
|
| 356 |
if (scalar @$stagedList) { |
356 |
if (scalar @$stagedList) { |
| 357 |
push @list, { |
357 |
push @list, { |
| 358 |
import_batch_id => $batch->{'import_batch_id'}, |
358 |
import_batch_id => $batch->{'import_batch_id'}, |
| 359 |
num_biblios => $batch->{'num_biblios'}, |
359 |
num_records => $batch->{'num_records'}, |
| 360 |
num_items => $batch->{'num_items'}, |
360 |
num_items => $batch->{'num_items'}, |
| 361 |
staged_date => $batch->{'upload_timestamp'}, |
361 |
staged_date => $batch->{'upload_timestamp'}, |
| 362 |
import_status => $batch->{'import_status'}, |
362 |
import_status => $batch->{'import_status'}, |
|
Lines 426-437
sub import_biblios_list {
Link Here
|
| 426 |
|
426 |
|
| 427 |
push @list, \%cellrecord; |
427 |
push @list, \%cellrecord; |
| 428 |
} |
428 |
} |
| 429 |
my $num_biblios = $batch->{'num_biblios'}; |
429 |
my $num_records = $batch->{'num_records'}; |
| 430 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
430 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
| 431 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
431 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
| 432 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
432 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
| 433 |
$template->param(biblio_list => \@list, |
433 |
$template->param(biblio_list => \@list, |
| 434 |
num_results => $num_biblios, |
434 |
num_results => $num_records, |
| 435 |
import_batch_id => $import_batch_id, |
435 |
import_batch_id => $import_batch_id, |
| 436 |
"overlay_action_${overlay_action}" => 1, |
436 |
"overlay_action_${overlay_action}" => 1, |
| 437 |
overlay_action => $overlay_action, |
437 |
overlay_action => $overlay_action, |
|
Lines 450-458
sub batch_info {
Link Here
|
| 450 |
comments => $batch->{'comments'}, |
450 |
comments => $batch->{'comments'}, |
| 451 |
import_status => $batch->{'import_status'}, |
451 |
import_status => $batch->{'import_status'}, |
| 452 |
upload_timestamp => $batch->{'upload_timestamp'}, |
452 |
upload_timestamp => $batch->{'upload_timestamp'}, |
| 453 |
num_biblios => $batch->{'num_biblios'}, |
453 |
num_records => $batch->{'num_records'}, |
| 454 |
num_items => $batch->{'num_biblios'}); |
454 |
num_items => $batch->{'num_records'}); |
| 455 |
if ($batch->{'num_biblios'} > 0) { |
455 |
if ($batch->{'num_records'} > 0) { |
| 456 |
if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') { |
456 |
if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') { |
| 457 |
$template->param(can_commit => 1); |
457 |
$template->param(can_commit => 1); |
| 458 |
} |
458 |
} |