Bug 26147 - Add script to recalculate due dates after changes to the calendar
Summary: Add script to recalculate due dates after changes to the calendar
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 15:07 UTC by Andrew Fuerste-Henry
Modified: 2020-11-20 13:36 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2020-08-05 15:07:45 UTC
With the pandemic, we saw a lot of libraries put a lot of near-future closures into their calendars. For libraries where useDaysMode prevents due dates on closed days, this meant a lot of checkouts with due dates that wouldn't have been allowed were the closures in place before the checkout happened. It would be helpful to have a command line script to recalculate due dates based on the current calendar and the useDaysMode syspref.
Comment 1 Martin Renvoize (ashimema) 2020-11-20 11:25:14 UTC
Would you also need to notify the patrons that their due dates have been extended due to updated closures perhaps?
Comment 2 Andrew Fuerste-Henry 2020-11-20 13:36:40 UTC
If this theoretical script creates a clear data trail of the change somewhere, then one could easily enough use the patron_emailer cron to generate a notice for this without having to code a whole new thing for it.