Bug 28377: Use the API to suspend/resume holds
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 May 2021 20:37:44 +0000 (17:37 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 16 Dec 2021 22:13:51 +0000 (12:13 -1000)
commitfab3f92cd0552cb4eb80be1b77e3d1136643c533
treec28bd608006d837d08109894a0f84031a533b9c3
parent65915fedffc50fb8650392b92df8d9d79fe1ec8a
Bug 28377: Use the API to suspend/resume holds

This patch makes the patron page (detail and circulation) use the API to
suspend/resume holds on the holds tab.

It previously used the old svc/ scripts we plan to replace.

To test
1. Have a patron with some holds
2. Play with suspending/resuming holds. Include the indefinite
   suspension.
=> SUCCESS: Everything works as usual
3. Apply this patch
4. Repeat 2
=> SUCCESS: Nothing changed, a soft breeze surprises you
5. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
koha-tmpl/intranet-tmpl/prog/js/holds.js