]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 21 Sep 2019 13:47:16 +0000 (13:47 +0000)
commit8449256ec537363eb5d1ccb5d42af63af26da2fd
tree037b8614d8762f2466b459853314734cf8bbc0d8
parente2d030efe7e39ed68c3abf714e9f5cc0c19c11e3
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>
(cherry picked from commit ad1ba3604c2054a6d7eb22ff26f3f4a8857683d0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc