Bug 34155: Hide 'Next available' at OPAC when item-level hold is forced
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 17 Jul 2023 09:10:07 +0000 (11:10 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Aug 2023 18:58:34 +0000 (08:58 -1000)
commit9916e1853462d293eac5eecbf15184d360d58079
tree7bae28337336aa0a0dfc8235c79a5d7e098ac555
parent741f331e7d0ca7f616bd9b794a428ef3cff01b12
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 <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9b1bd01a428823e0ed99d7d265dec3606ea3e893)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt