Bug 39859

Summary: Add ability to schedule a full hold queue rebuild from the staff interface
Product: Koha Reporter: Lisette Scheer <lisette>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: blawlor, george, gmcharlt, kebliss, mspinney, nick, phillip.berg
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20747
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 37248    
Attachments: Bug 39859: WIP

Description Lisette Scheer 2025-05-07 19:24:20 UTC
It would be helpful in some circumstances, such as when changing related preferences, if staff could schedule a full queue rebuild.
Examples:
-Changes to transport cost matrix
-Changes to local holds priority system preference
-Changes to staticholdsqueue system preference

There are probably other cases when it would be helpful as well.
Comment 1 Phillip Berg 2025-09-03 14:00:19 UTC
Agreed, would be a nice feature to have. I think we'd just want to make sure there's a way to turn on/off the permission. I don't think it would be a good idea for all staff to automatically have the permission. Would want to see it as a permission that would need to be given.
Comment 2 Nick Clemens (kidclamp) 2025-09-04 13:29:08 UTC
Created attachment 186151 [details] [review]
Bug 39859: WIP

To do:
Add button to Circulation home / admin to rebuild whole queue (if peermissions)
Add button to biblio details / holds tab to rebuild for a specific biblio
Improve CreateQueue to return more info