With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. We envisage this tool as a simple form whereby the user can filter checkouts by a due date window and branch and then either set a fixed new due date for all such items or roll the due date on by X days.
Will try to work on that today.
Looks like InLibro have a plugin to do some of this.. I've not investigated it fully yet, but it's on my list: https://inlibro.com/en/koha-plugins/#changeduedate
Created attachment 100729 [details] [review] Bug 24846: Add new permission batch_extend_due_dates
Created attachment 100730 [details] [review] Bug 24846: Add new tool to batch extend due dates With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. It allows to select checkouts given the following parameters: * libraries * patron's categories * range of the due date You can set a hard due date, or define a number of days to extend the due date. Test plan: Check some items out Use the new tool to extend the due dates Test the different filters to make sure they all work Note: What about holidays?
Created attachment 100731 [details] [review] Bug 24846: Link to the new tool
Hi, works This variables: # List all records to process my ( @records, @record_ids ); are declared but not used, qa-tools complains. It's ok?
Created attachment 100749 [details] [review] Bug 24846: Add new tool to batch extend due dates With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. It allows to select checkouts given the following parameters: * libraries * patron's categories * range of the due date You can set a hard due date, or define a number of days to extend the due date. Test plan: Check some items out Use the new tool to extend the due dates Test the different filters to make sure they all work Note: What about holidays?
Created attachment 100750 [details] [review] Bug 24846: Link to the new tool
(In reply to Bernardo Gonzalez Kriegel from comment #6) > Hi, works > > This variables: > # List all records to process > my ( @records, @record_ids ); > > are declared but not used, qa-tools complains. > It's ok? Nope, unused vars. I fixed it!
Created attachment 100752 [details] [review] Bug 24846: Add new permission batch_extend_due_dates Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Created attachment 100753 [details] [review] Bug 24846: Add new tool to batch extend due dates With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. It allows to select checkouts given the following parameters: * libraries * patron's categories * range of the due date You can set a hard due date, or define a number of days to extend the due date. Test plan: Check some items out Use the new tool to extend the due dates Test the different filters to make sure they all work Note: What about holidays? Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described, tried hard new date and number of days. No errors
Created attachment 100754 [details] [review] Bug 24846: Link to the new tool Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Should not we also update items.onloan?
Created attachment 100914 [details] [review] Bug 24846: Add new tool to batch extend due dates With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. It allows to select checkouts given the following parameters: * libraries * patron's categories * range of the due date You can set a hard due date, or define a number of days to extend the due date. Test plan: Check some items out Use the new tool to extend the due dates Test the different filters to make sure they all work Note: What about holidays?
Created attachment 100915 [details] [review] Bug 24846: Update items.onloan with the new due date
Created attachment 100969 [details] [review] Bug 24846: Update items.onloan with the new due date Signed-off-by: Donna Bachowski <donna@bywatersolutions.com>
Created attachment 100998 [details] [review] Bug 24846: Add new permission batch_extend_due_dates Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Created attachment 100999 [details] [review] Bug 24846: Link to the new tool Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Created attachment 101000 [details] [review] Bug 24846: Add new tool to batch extend due dates With events sometimes leading to unforeseen branch closures (think Coronavirus as an example), it would be helpful to have a tool that would allow librarians to update due dates in bulk based on branch and current due date of the material. It allows to select checkouts given the following parameters: * libraries * patron's categories * range of the due date You can set a hard due date, or define a number of days to extend the due date. Test plan: Check some items out Use the new tool to extend the due dates Test the different filters to make sure they all work Note: What about holidays? Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Created attachment 101001 [details] [review] Bug 24846: Update items.onloan with the new due date Signed-off-by: Donna Bachowski <donna@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This works well and resolves a problem many may be facing right now. Passing QA as is.. we can always revisit it and add polish and holiday handling at a later date.
Nice work everyone! Pushed to master for 20.05
Pushing to 19.11.04
Although this is a feature it is an important one to backport to older versions at this time. backported to 19.05.x for 19.05.09
Is it planned to put this in 18.11 as well?
Backported to 18.11.x for 18.11.16
(In reply to Hayley Mapley from comment #26) > Backported to 18.11.x for 18.11.16 Thank you Hayley for looking into it!
> (In reply to Hayley Mapley from comment #26) > > Backported to 18.11.x for 18.11.16 > > Thank you Hayley for looking into it! Thanks for flagging it Katrin! :)
Screenshots: Filters: https://snipboard.io/VTjl9M.jpg Checkouts selection: https://snipboard.io/2S1mVk.jpg Result screen: https://snipboard.io/762HWI.jpg And the great Monday Minutes about this tool by Jessie and Kelly: https://bywatersolutions.com/education/monday-minutes-bulk-edit-due-dates