Bugzilla – Attachment 153537 Details for
Bug 34155
OPAC item level holds "force" option broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34155: Hide 'Next available' at OPAC when item-level hold is forced
Bug-34155-Hide-Next-available-at-OPAC-when-item-le.patch (text/plain), 2.10 KB, created by
Owen Leonard
on 2023-07-17 10:45:12 UTC
(
hide
)
Description:
Bug 34155: Hide 'Next available' at OPAC when item-level hold is forced
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-07-17 10:45:12 UTC
Size:
2.10 KB
patch
obsolete
>From a8e47ce6d4d3b012c4ac075d821a54f99f9b9d39 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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 <oleonard@myacpl.org> >--- > 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 2109a26fd6..0d3eec7086 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 %] > <!-- ITEM HOLDS --> > <li class="lradio place_on_type" style="display:none;"> >- [% UNLESS bibitemloo.forced_hold_level == 'item' || bibitemloo.forced_hold_level == 'item_group' %] >+ [% UNLESS bibitemloo.forced_hold_level == 'item' || bibitemloo.forced_hold_level == 'item_group' || bibitemloo.force_hold %] > <label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label> > <input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" > id="reqany_[% bibitemloo.biblionumber | html %]" >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34155
:
153532
|
153537
|
154059