https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38412

Andrew Fuerste-Henry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182450|0                           |1
        is obsolete|                            |

--- Comment #3 from Andrew Fuerste-Henry <[email protected]> ---
Created attachment 182767
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182767&action=edit
Bug 38412: Display warning on biblio level

When no element is available, with AllowHoldPolicyOverride, a triangle appears
on each element to be forced, but if you choose “next item available” without
having any item available, you won't see anything.
I think there's a small correction to be made in request.pl because there's no
incrementation of $num_override when the item is to be forced...

So I added it and logic did the rest.

Test plan:
1) Set circulations rules for specific category and/or itemtype (for example 0
hold allowed for staff on books). Set AllowHoldPolicyOverride on "Allow".
2) For testing go on biblio with books itemtype, and place a hold for a staff
category patron
3) Normally you will see triangles on each item on specific section but you can
force it. When you just select the next item available none triangle and none
alert showing.
4) Apply this patch and restart_all
5) Refresh your browser page
6) Normally now there is a triangle into 'Place hold' submit button and an
alert pops up after click on it.

Sponsored by: BibLibre

Signed-off-by: Andrew Fuerste Henry <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to