]> git.koha-community.org Git - koha.git/commit
Bug 36735: Fix revert hold button
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Tue, 30 Apr 2024 19:32:13 +0000 (15:32 -0400)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 15:46:13 +0000 (17:46 +0200)
commit236c9d4d98e653874486b5cb0cf12f0e3447b0c9
tree7bbc9030ddea396262a37574c4a93f956a9df948
parent11c69496bcd216ad264acd87409e5160c73995bf
Bug 36735: Fix revert hold button

Update the revert hold button to use the new include for submitting
forms from link data with a POST request

To test:
1. Place a hold on a biblio record
2. Check an item in to fill the hold
3. On the holds tab for the biblio record, click the "Revert waiting
   status" button for that hold
--> The page reloads but the hold is still waiting
4. Apply patchset
5. Click to another page and then return to the holds tab (we don't want
   to refresh the page and resend the request)
6. Click the "Revert waiting status" button for that hold
--> The hold should be reverted to pending status

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt