Bug 18931: Add items/deleteditems tables
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 193ecb0a2b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
197dd2d4c7
commit
84edd3900f
5
about.pl
5
about.pl
|
|
@ -296,6 +296,10 @@ if ( C4::Context->preference('WebBasedSelfCheck')
|
|||
q|select b.biblionumber from biblio b join deletedbiblio db on b.biblionumber=db.biblionumber|,
|
||||
{ Slice => {} }
|
||||
);
|
||||
my $items = $dbh->selectall_arrayref(
|
||||
q|select i.itemnumber from items b join deleteditems di on i.itemnumber=di.itemnumber|,
|
||||
{ Slice => {} }
|
||||
);
|
||||
my $checkouts = $dbh->selectall_arrayref(
|
||||
q|select i.issue_id from issues i join old_issues oi on i.issue_id=oi.issue_id|,
|
||||
{ Slice => {} }
|
||||
|
|
@ -309,6 +313,7 @@ if ( C4::Context->preference('WebBasedSelfCheck')
|
|||
has_ai_issues => 1,
|
||||
ai_patrons => $patrons,
|
||||
ai_biblios => $biblios,
|
||||
ai_items => $items,
|
||||
ai_checkouts => $checkouts,
|
||||
ai_holds => $holds,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -157,6 +157,11 @@
|
|||
The following ids exist in both the biblio and deletedbiblio table:
|
||||
[% FOR b IN ai_biblios %][% b.biblionumber %][% UNLESS loop.last %], [% END %][% END %]
|
||||
[% END %]
|
||||
[% IF ai_items %]
|
||||
<h3>Items</h3>
|
||||
The following ids exist in both the items and deleteditems table:
|
||||
[% FOR i IN ai_items %][% i.itemnumber %][% UNLESS loop.last %], [% END %][% END %]
|
||||
[% END %]
|
||||
[% IF ai_checkouts %]
|
||||
<h3>Checkouts</h3>
|
||||
The following ids exist in both the issues and old_issues table:
|
||||
|
|
|
|||
Loading…
Reference in New Issue