]> git.koha-community.org Git - koha.git/commit
Bug 22456: (QA follow-up) Consider cancellation requested as cancelled in OPAC
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 11 Jul 2022 20:35:27 +0000 (17:35 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 29 Jul 2022 18:28:45 +0000 (15:28 -0300)
commit9e28725966466579fb5c1c1274de7d133994138e
tree2622f022237a86b16c064cb40ef07871f25ac66f
parent0e6f15207720edeacbc34bc1d54c98b01d9ec537
Bug 22456: (QA follow-up) Consider cancellation requested as cancelled in OPAC

This patch adds a helper method for filtering out cancellation
requested-holds from resultsets, and makes use of it in the OPAC to
filter out those in the current holds tab. Holds history now shows
'Waiting (cancellation requested)' on those.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Holds.pm
koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt
opac/opac-user.pl
t/db_dependent/Koha/Holds.t