From 4a5ebab45fa12129e78f0d986bea1fc152893aff Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 23 Jul 2024 16:51:12 +0100 Subject: [PATCH] Bug 36996: (follow-up) Fix for notforloan name change from bug 28762 Signed-off-by: Martin Renvoize --- Koha/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 07ea9834cc..d6c8a92887 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -2615,7 +2615,7 @@ sub z3950_status { push @statuses, $status_strings->{LOST} // "LOST"; } - if ( $self->is_notforloan() ) { + if ( $self->effective_not_for_loan_status() ) { push @statuses, $status_strings->{NOT_FOR_LOAN} // "NOT_FOR_LOAN"; } -- 2.39.5