Bug 30907: Fix incorrect uses of Koha::Recall->item_level_recall
This attribute name was changed to *item_level* but this two remaining places kept calling it with the old name. To test, verify things don't explode when looking at checkouts with recalls and also in the log viewer. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
972330bc9e
commit
beb663836b
|
|
@ -372,7 +372,7 @@
|
|||
[% loopro.object | html %]
|
||||
[% END %]
|
||||
[% ELSIF ( loopro.module == 'RECALLS' ) %]
|
||||
[% IF loopro.recall.item_level_recall %]
|
||||
[% IF loopro.recall.item_level %]
|
||||
Item-level recall on <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.recall.itemnumber | uri %]&biblionumber=[% loopro.recall.biblionumber | uri %]&bi=[% loopro.recall.item.biblioitemnumber | uri %]">item</a>
|
||||
[% ELSE %]
|
||||
Biblio-level recall on <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.recall.biblionumber | uri %]">biblio</a>
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ while ( my $c = $sth->fetchrow_hashref() ) {
|
|||
my $recall = undef;
|
||||
$recall = $item->check_recalls if $item->can_be_waiting_recall;
|
||||
if ( defined $recall ) {
|
||||
if ( $recall->item_level_recall ) {
|
||||
if ( $recall->item_level ) {
|
||||
if ( $recall->itemnumber == $c->{itemnumber} ) {
|
||||
# item-level recall on this item
|
||||
$recalled = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue