Bug 29154

Summary: Add hold cancellation reason to holds awaiting pickup page
Product: Koha Reporter: Paul Navarrete <pnavarrete>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: andrewfh, bdaeuber, daniel.jordan, gmcharlt
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 25534    
Bug Blocks:    

Description Paul Navarrete 2021-10-01 20:33:57 UTC
Using the authorized value "HOLD_CANCELLATION" allows us to choose a reason a hold was cancelled, which then triggers a patron notice. However, the option to choose a reason does not appear on the Holds Awaiting Pickup page, which is where we cancel holds from often. Can the hold cancellation options be added to this page?
Comment 1 Andrew Fuerste-Henry 2021-10-04 12:28:38 UTC
Agreed, that's an unfortunate oversight.
Right now, cancelling a hold from the bib record pops up a modal that asks for a reason. On the other hand, if you're cancelling from the patron record you're given a dropdown with which to pick a reason before clicking cancel. Which option do you think would be more helpful here?
Comment 2 Paul Navarrete 2022-07-07 18:59:11 UTC
I like the pop up modal for this screen.
(sorry to leave this hanging)
Comment 3 Daniel Jordan 2022-08-10 14:12:05 UTC
We'd also like to see this implemented. Holds Awaiting Pickup is our most commonly visited holds-related page; it'd make sense to have this functionality there. 

I also agree the modal format works well - dropdowns are my nemesis in that I'm always forgetting to select the reason before pressing cancel.
Comment 4 Benjamin Daeuber 2022-08-10 21:08:44 UTC
I'd also like to see some sort of bulk action here since the most likely reason we're cancelling holds is that they are expired and we'll do several at once. As far as I know the only way to trigger a notice for that reason is using the cron job, which we do not.
Comment 5 Owen Leonard 2022-09-26 12:26:57 UTC
The option for selecting a hold cancellation reason is should be working on this page for bulk hold cancellations. There's code for handling this in a modal window.
Comment 6 Owen Leonard 2022-09-26 13:43:54 UTC
The option for selecting a hold cancellation reason is also missing from the "Cancel all" button (as opposed to the "Cancel selected" button).