Bug 31394

Summary: Background hold cancellation causing confusion
Product: Koha Reporter: Benjamin Daeuber <bdaeuber>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: andrewfh, clackman, gmcharlt, jonathan.druart, kyle, tomascohen
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: 23678    
Bug Blocks:    

Description Benjamin Daeuber 2022-08-18 14:31:48 UTC
Moving the bulk hold cancellation to background jobs has had the side effect of confusing staff since waitingreserves.pl refreshes with the items still listed. Staff will then try to refresh the page to see if the items were canceled, but that causes Koha to resubmit the background job since waitingreserves.pl?cancelBulk is still in the address bar. 

I'd propose we at minimum do not make it possible to resubmit that job so easily, but possibly to go directly to the results of the enqueued job.
Comment 1 Katrin Fischer 2022-08-21 21:37:33 UTC
I can see how this would cause confusion and might also be seen as a regression to the previous behaviour :(
Comment 2 Tomás Cohen Arazi 2022-10-14 11:47:35 UTC
Maybe we could solve it by adding the progress bar, and just refreshing the table after the job finishes?
Comment 3 Katrin Fischer 2022-10-14 19:15:23 UTC
(In reply to Tomás Cohen Arazi from comment #2)
> Maybe we could solve it by adding the progress bar, and just refreshing the
> table after the job finishes?

Yes, I think that would be great.