Bug 39604 - Remember for the session for this patron doesn't remember to cancel a hold
Summary: Remember for the session for this patron doesn't remember to cancel a hold
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-10 17:30 UTC by Lucas Gass (lukeg)
Modified: 2025-04-14 18:50 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39604: Remember cancelreserve choice when remembering patron for session (2.52 KB, patch)
2025-04-14 17:47 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 39604: Remember cancelreserve choice when remembering patron for session (2.57 KB, patch)
2025-04-14 18:50 UTC, Roman Dolny
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2025-04-10 17:30:18 UTC
TO recreate:

1. Put a few items on hold and make note of the barcodes. 
2. Check out one of the items to a patron who doesn't have the hold
3. Check the cancel hold radio button 
4. Also check the Remember for the session for this patron 
5. Click 'Yes, check out'
6. Notice the item is checked out and the hold is cancelled 
7. No checkout another on hold item to the same patron 
8. No confirm screen ( good )
9. The item is checked out ( good )
10. The hold is not cancelled. ( bad )
Comment 1 Lucas Gass (lukeg) 2025-04-12 16:36:50 UTC
This also is true of 'Revert waiting hold', it should also be remembered for the session if it is choosen.
Comment 2 Lucas Gass (lukeg) 2025-04-14 17:47:16 UTC
Created attachment 180924 [details] [review]
Bug 39604: Remember cancelreserve choice when remembering patron for session

To test:
1. Put a few items on hold and make note of the barcodes.
2. Check out one of the items to a patron who doesn't have the hold
3. Check the cancel hold radio button
4. Also check the Remember for the session for this patron
5. Click 'Yes, check out'
6. Notice the item is checked out and the hold is cancelled
7. No checkout another on hold item to the same patron
8. No confirm screen ( good )
9. The item is checked out ( good )
10. The hold is not cancelled. ( bad )
11. APPLY PATCH and restart all
12. Try steps 1 - 9 again. This time the 2nd hold should be cancelled.
Comment 3 Roman Dolny 2025-04-14 18:50:55 UTC
Created attachment 180927 [details] [review]
Bug 39604: Remember cancelreserve choice when remembering patron for session

To test:
1. Put a few items on hold and make note of the barcodes.
2. Check out one of the items to a patron who doesn't have the hold
3. Check the cancel hold radio button
4. Also check the Remember for the session for this patron
5. Click 'Yes, check out'
6. Notice the item is checked out and the hold is cancelled
7. No checkout another on hold item to the same patron
8. No confirm screen ( good )
9. The item is checked out ( good )
10. The hold is not cancelled. ( bad )
11. APPLY PATCH and restart all
12. Try steps 1 - 9 again. This time the 2nd hold should be cancelled.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>