From fc59fecd83c40d668cf4996f7917cdd1260e7452 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 17 Jul 2023 11:10:07 +0200 Subject: [PATCH] Bug 34155: Hide 'Next available' at OPAC when item-level hold is forced This was a regression caused by bug 24860 Test plan: 1. Set up circulation rules so that OPAC users can place holds only on specific items ("OPAC item level holds" = "force") 2. Try to place a hold at OPAC. The "Next available item" option should not appear. 3. Set "OPAC item level holds" to "allow" 4. Try to place a hold at OPAC. The "Next available item" option should appear Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 9b1bd01a428823e0ed99d7d265dec3606ea3e893) Signed-off-by: Fridolin Somers (cherry picked from commit 9916e1853462d293eac5eecbf15184d360d58079) Signed-off-by: Pedro Amorim --- 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 0b04429b5b..27eac82106 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -340,7 +340,7 @@ [% IF bibitemloo.itemholdable %]