Bug 37396: Add missing cud-checkout op to form

To test:

1. Set the system preference 'OverduesBlockCirc' to 'Ask for Confirmation'
2. Enable the BatchCheckout system preference
3. Checkout an item to a patron and backdate the due date so that it is overdue.
4. Attempt to checkout an item or a set of items using the Batch Checkout feature. The batch checkout page will ask you to confirm the checkouts because the 'Patron has 1 overdue item'.
5. Confirm the checkout and go to the patron's holdings table. The items you checked out via the batch checkout were not issued to the patron.
6. Apply patch
7. Repeate batch checkout
8. Confirm the checkout
9, Items are successfully issued!

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d982cbd2a7)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2024-07-23 16:00:10 +00:00 committed by Lucas Gass
parent 7ccbcc3037
commit bcdec4356d
1 changed files with 1 additions and 0 deletions

View File

@ -328,6 +328,7 @@
<input type="hidden" name="branch" value="[% branch | html %]" />
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
<input type="hidden" name="batch" value="1" />
<input type="hidden" name="op" value="cud-checkout" />
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
<input type="submit" id="checkoutrenew" class="btn btn-primary" value="Checkout or renew" />
</fieldset>