[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
Fri Apr 26 16:05:25 CEST 2019


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

Owen Leonard <oleonard at myacpl.org> changed:

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

--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 88924
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88924&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