https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38617

            Bug ID: 38617
           Summary: Fix warning about auto increment and biblioitems
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: About
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Bug 35033 added a check for auto increment problems related to biblioitems. The
code looks like this: 

     my $biblioitems = $dbh->selectall_arrayref(
        q|select bi.biblioitemnumber from biblioitems bi join
deletedbiblioitems dbi on bi.biblionumber=dbi.biblionumber|,
        { Slice => {} }
    );

It compares biblioitems and deletedbiblioitems, which makes sense. But the
template that displays the results look like this: 

    [% IF ai_biblioitems %]
        <h4>Bibliographic records</h4>
        <p>The following IDs exist in both tables [% "biblio" | $HtmlTags
tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:</p>
        <p>
            [% FOR b IN ai_biblioitems %]
                [% b.biblioitemnumber | html %]
                [% UNLESS loop.last %], [% END %]
            [% END %]
        </p>
    [% END %]

The problem is this: 

  The following IDs exist in both tables [% "biblio" | $HtmlTags tag="strong"
%] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]

It says "biblio and deletedbiblioitems", when it should say "biblioitems and
deletedbiblioitems".

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to