]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 15 Aug 2023 08:25:45 +0000 (11:25 +0300)
commit9b1bd01a428823e0ed99d7d265dec3606ea3e893
treee25c536536a7bc538fbf5cf531fd0aa578298d52
parente211d8b34b8e3755ef254f9677d8c82dc27e0ae1
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt