Bug 33840

Summary: UpdateItemLocationOnCheckin needs a duration and library parameters
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: unspecified   
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 Christopher Brannon 2023-05-25 17:54:28 UTC
It would be nice if we could define in UpdateItemLocationOnCheckin how long the change takes effect.  Either add a |0 for indefinite, or |60 for 60 minutes (enter the duration in minutes.

Maybe also have a |[BRANCH,ETC] or |[ALL] parameter to indicate what branches this would affect.  That way, you could specify which branches to apply which timings to.

The reason for this is that the reset to permanent is currently done through a cron, so we can't see this in settings, and it is global.  It affects everyone.  Some libraries return items to the shelf sooner than others.  We could streamline this to adjust to each libraries reshelving rate.

I guess the only issue would be the trigger for this.  Should a cron job be checking these updates, and should there be a minimum on how often this cron runs so that it doesn't bog down the system?  Would it bog down the system looking for items in shelving location at a branch?  Should it be limited to hours and not minutes?

Also, should UpdateItemLocationOnCheckin be left as a global setting, and should we have a branch level setting in the branches setups?