[Koha-bugs] [Bug 22537] Suspend all hold button appears even if the hold can no longer be suspended.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 15:50:43 CET 2019


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 86747
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86747&action=edit
Bug 22537: Suspend all hold button appears even if the hold can no longer be
suspended.

This patch adds to the user summary page in the OPAC a check for waiting
or in-transit holds. If all holds are waiting or in transit the "Suspend
all" controls will be hidden.

This patch also adds a missing $KohaDates filter to the "suspended
until" date.

To test, apply the patch and log in to the OPAC as a patron with holds.
Test these conditions:

 - All holds are waiting and/or in transit
   - The "Suspend holds" controls at the bottom of the page should not
     appear.
 - Some holds are waiting and/or in transit
   - The "Suspend holds" controls should appear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list