From 9d93293c973fd3bd475a08d757dce0f74ec59659 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 17 Sep 2025 14:54:54 +0200 Subject: [PATCH] Bug 40586: (QA follow-up) Add comment about effective notforloan status Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Lucas Gass (cherry picked from commit ae78ea6e5e95261a81c6fdae75f36ef3158eecad) Signed-off-by: Paul Derscheid --- koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index 17e0c85ad1..6be1cba2c6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -156,7 +156,7 @@ [% ELSE %] [% IF HOLD.itemtype %] Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' - [% ELSIF HOLD.item && HOLD.item.notforloan < 0 %] + [% ELSIF HOLD.item && HOLD.item.notforloan < 0 # no need for effective_not_for_loan_status when testing < 0 %] Pending ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => HOLD.item.notforloan ) %]) [% ELSE %] Pending