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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 18 Aug 2023 13:29:38 +0000 (13:29 +0000)
commitfc59fecd83c40d668cf4996f7917cdd1260e7452
tree6468e2736256c2826452ae05dc8407c4dcddc910
parent790c828bfb0904784f4443dba180549d740d0a02
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>
(cherry picked from commit 9916e1853462d293eac5eecbf15184d360d58079)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt