Summary: | Cancel unfilled holds should be a system preference | ||
---|---|---|---|
Product: | Koha | Reporter: | hebah |
Component: | Hold requests | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, kebliss, pedro.amorim |
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: | ||
Circulation function: |
Description
hebah
2024-04-02 18:54:28 UTC
Would something like CancelUnfilledHoldsAfter expecting a numeric input for days work? Default 0, with 0 meaning don't cancel. This would make it 1 sys pref instead of 2. cancel_unfilled_holds.pl would be updated to check, in the following order: 1 - Days supplied as cron parameter 2 - Days value configured in CancelUnfilledHoldsAfter (if >1) 3 - Show the same 'Error: You must specify a value for days waiting to cancel holds.' as it does currently if both above conditions fail. That does sound like an elegant solution, Pedro. I like it. |