[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 16:27:35 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22537
--- Comment #3 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 86749
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86749&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.
Signed-off-by: Marjorie <marjorie.barry-vila at collecto.ca>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list