]> git.koha-community.org Git - koha.git/commit
Bug 23502: Staff client "revert status" buttons should not depend on SuspendHoldsIntr...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 23 Aug 2019 16:41:57 +0000 (16:41 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Sep 2019 12:17:46 +0000 (13:17 +0100)
commit424cd4ed7f877d8bc7a45c77df0fa1b614efd1b7
tree49fd104016c83b298db812b0734ba1ed5eec1766
parentc1664d3bd6bb613d211695ed603ced868de4cafb
Bug 23502: Staff client "revert status" buttons should not depend on SuspendHoldsIntranet preference

This bug corrects the template logic controlling the display of the
"Revert waiting status" and "Revert transit status" buttons on the staff
client holds page so that it doesn't depend on having
SuspendHoldsIntranet enabled.

To test, apply the patch and locate a title which has multiple holds,
including:

  - One waiting hold
  - One in-transit hold
  - At least one pending hold

View the page with the SuspendHoldsIntranet preference both on and off.
The "Revert transit status" and "Revert waiting status" buttons should
be displayed either way.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc