View | Details | Raw Unified | Return to bug 35033
Collapse All | Expand All

(-)a/about.pl (-1 / +6 lines)
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 bi.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,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-1 / +10 lines)
Lines 321-326 Link Here
321
                                        [% END %]
321
                                        [% END %]
322
                                    </p>
322
                                    </p>
323
                                [% END %]
323
                                [% END %]
324
                                [% IF ai_biblioitems %]
325
                                    <h4>Bibliographic records</h4>
326
                                    <p>The following IDs exist in both tables [% "biblio" | $HtmlTags tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:</p>
327
                                    <p>
328
                                        [% FOR b IN ai_biblioitems %]
329
                                            [% b.biblioitemnumber | html %]
330
                                            [% UNLESS loop.last %], [% END %]
331
                                        [% END %]
332
                                    </p>
333
                                [% END %]
324
                                [% IF ai_items %]
334
                                [% IF ai_items %]
325
                                    <h4>Items</h4>
335
                                    <h4>Items</h4>
326
                                    <p>The following IDs exist in both tables [% "items" | $HtmlTags tag="strong" %] and [% "deleteditems" | $HtmlTags tag="strong" %]:</p>
336
                                    <p>The following IDs exist in both tables [% "items" | $HtmlTags tag="strong" %] and [% "deleteditems" | $HtmlTags tag="strong" %]:</p>
327
- 

Return to bug 35033