From 56621b992669b0b04e4134dd034cb5a4ac427e5c 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 Signed-off-by: Martin Renvoize --- 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 5a214562b3..6964e14b59 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.39.5