Bug 40678: Add hidden value to remember dropboxmode selection

To test:
1. Put an item in transfer to a different library than the logged in branch
2. Go to Circulation > Check in
3. Choose the "Book drop mode" option and check in a few items NOT from step 1.
4. See the "Book drop mode" choice is remembered after every selection.
5. Check in the item from step 1 to make a wrong transfer
6. The modal pops up for wrong transfer, click confirm
7. Now the choice of "Book drop mode" is forgotten.
8. APPLY PATCH
9. Try again, this time the "Book drop mode" selction should be retained

Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 13b82826cb)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Lucas Gass 2025-08-20 14:02:10 +00:00 committed by Paul Derscheid
parent 7be62e1dc7
commit 6d4be440f5
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" />
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
<input type="hidden" name="transit" value="[% NewTransfer | html %]" />
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" />
[% FOREACH checkin IN checkins %]
<input type="hidden" name="checkin_counter" value="[% loop.count | html %]" />
<input type="hidden" name="checkin_barcode_[% loop.count | html %]" value="[% checkin.barcode | html %]" />