From 36aa2b4e08184d584f652ac762a011abca7bb380 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 13 Nov 2022 13:31:44 +0000 Subject: [PATCH] Bug 32185: Fix template typo in opac-reserve.pl This removes the %] showing for not for loan items disappear. To test: * Create a record with multiple items, mark one 'not for loan' * Place an item level request on this record in the OPAC * Make sure you 'Show nonholdable items' * Verify the %] shows in the column with the not for loan status * Apply patch * Verify display is now improved Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 1a0f2cf6fa..61ae289193 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -452,7 +452,7 @@ [% END %] [% IF ( itemLoo.notforloan ) %] - Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemLoo.notforloan ) %] %]) + Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemLoo.notforloan ) %]) [% END %] [% IF ( itemLoo.first_hold ) %] -- 2.39.5