Bug 17593

Summary: Extend circulation rules to include shelving location
Product: Koha Reporter: Stefan Berndtsson <stefan.berndtsson>
Component: CirculationAssignee: Andrii Nugged <nugged>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andreas.hedstrom.mace, gmcharlt, katrin.fischer, kebliss, kkrueger, kyle.m.hall, nugged, patrick.robitaille, pierre.genty, slavashishkin, stalkernoid, viktor.sarge
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:

Description Stefan Berndtsson 2016-11-09 11:45:56 UTC
We are in the process of moving over to Koha, and are still trying to manage all the details around this. Circulation rules are a big thing we have to tackle here.

At the moment, we have multiple libraries, and within each library we have both open and closed stacks as well as multiple other segmentations, all specified as shelving locations (authorized value LOC).

These locations are not always governed by the same set of rules, so it would be very helpful if the system could support LOC as a circulation rule condition alongside library, patron category and item type.

From doing a fairly brief look at the code, it seems GetIssuingRule and GetLoanLength in C4/Circulation.pm are the main points where the ruleset is retreived. There will of course be all the places calling these two functions, as well as database management parts to consider.

If we were to develop some sort of extension to these rules, what would be an appropriate approach? It should certainly be an option to turn on to be used, but should we consider LOC as a starting point, or should LOC just be one many possible choices in the configuration?
Comment 1 Katrin Fischer 2017-06-05 11:50:18 UTC
There has been another discussion recently about making collection codes "full Koha citizens" in terms of circulation conditions (https://lists.katipo.co.nz/pipermail/koha/2017-May/048124.html). Maybe we need to generally think about this. Would you want to discuss this during a development meeting maybe? Or on the mailing list?
Comment 2 Kristi 2023-10-16 19:31:35 UTC
Our library would love the ability to make circulation rules around a specific shelving location. This would help with things like "Lucky Day" titles or setting a shelf location that includes different item types to always return to its owning library in a floating collection.