From 36a83b7bfcae99e66a55f0db24f06d535517bf7b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 23 Jul 2024 08:44:35 +0100 Subject: [PATCH] Bug 28762: (follow-up) Fix missed not_for_loan_status rename --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 5a214562b3c..6964e14b59f 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -970,7 +970,7 @@ sub _availability { my $location = $library ? $library->branchname : ''; my $itemcallnumber = $item->itemcallnumber; - if ( $item->effective_notforloan ) { + if ( $item->effective_not_for_loan_status ) { return ( $biblionumber, __('not available'), __('Not for loan'), $location, $itemcallnumber ); } elsif ( $item->onloan ) { return ( $biblionumber, __('not available'), __('Checked out'), $location, $itemcallnumber ); -- 2.45.2