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>
(cherry picked from commit beb663836b
)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
348fe09847
commit
90bbdfdd4f
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue