From c345e68769d801874e3d914e6ecdd7e0b6f863e2 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Thu, 9 May 2024 16:00:12 +0000 Subject: [PATCH] Bug 36775: Allow multiple holds on record when holds per record is unlimited To test: 1 set Holds Per Record to Unlimited 2 confirm hold placement interface does not include "Holds to place (count)" 3 apply patch, restart all 4 reload hold placement interface, confirm it does include "Holds to place (count)" 5 set Holds Per Record to 2 6 confirm Holds to place shows when placing a first hold for a patron, but not when placing a second 7 set Holds Per Record to 1 8 confirm Holds to Place does not show 9 sign off and eat a nice snack Signed-off-by: David Nind Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index a0ee80559f..f8c42090e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -664,7 +664,7 @@ [% END %] - [% IF remaining_holds_for_record > 1 %] + [% UNLESS remaining_holds_for_record == 1 %]
  • -- 2.39.5