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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 9 Sep 2019 06:58:52 +0000 (08:58 +0200)
commitad1ba3604c2054a6d7eb22ff26f3f4a8857683d0
treeeddf33d066b2e4237fdf1dac13c8c854d537f716
parent8458626205fececfb1486cbb42b57f6e0c1af8e3
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>
(cherry picked from commit 424cd4ed7f877d8bc7a45c77df0fa1b614efd1b7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc