Lines 511-516
$template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs;
Link Here
|
511 |
q|select b.biblionumber from biblio b join deletedbiblio db on b.biblionumber=db.biblionumber|, |
511 |
q|select b.biblionumber from biblio b join deletedbiblio db on b.biblionumber=db.biblionumber|, |
512 |
{ Slice => {} } |
512 |
{ Slice => {} } |
513 |
); |
513 |
); |
|
|
514 |
my $biblioitems = $dbh->selectall_arrayref( |
515 |
q|select b.biblioitemnumber from biblioitems bi join deletedbiblioitems dbi on bi.biblionumber=dbi.biblionumber|, |
516 |
{ Slice => {} } |
517 |
); |
514 |
my $items = $dbh->selectall_arrayref( |
518 |
my $items = $dbh->selectall_arrayref( |
515 |
q|select i.itemnumber from items i join deleteditems di on i.itemnumber=di.itemnumber|, |
519 |
q|select i.itemnumber from items i join deleteditems di on i.itemnumber=di.itemnumber|, |
516 |
{ Slice => {} } |
520 |
{ Slice => {} } |
Lines 523-533
$template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs;
Link Here
|
523 |
q|select r.reserve_id from reserves r join old_reserves o on r.reserve_id=o.reserve_id|, |
527 |
q|select r.reserve_id from reserves r join old_reserves o on r.reserve_id=o.reserve_id|, |
524 |
{ Slice => {} } |
528 |
{ Slice => {} } |
525 |
); |
529 |
); |
526 |
if ( @$patrons or @$biblios or @$items or @$checkouts or @$holds ) { |
530 |
if ( @$patrons or @$biblios or @$biblioitems or @$items or @$checkouts or @$holds ) { |
527 |
$template->param( |
531 |
$template->param( |
528 |
has_ai_issues => 1, |
532 |
has_ai_issues => 1, |
529 |
ai_patrons => $patrons, |
533 |
ai_patrons => $patrons, |
530 |
ai_biblios => $biblios, |
534 |
ai_biblios => $biblios, |
|
|
535 |
ai_biblioitems=> $biblioitems, |
531 |
ai_items => $items, |
536 |
ai_items => $items, |
532 |
ai_checkouts => $checkouts, |
537 |
ai_checkouts => $checkouts, |
533 |
ai_holds => $holds, |
538 |
ai_holds => $holds, |