Bug 17593 - Extend circulation rules to include shelving location
Summary: Extend circulation rules to include shelving location
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement with 10 votes (vote)
Assignee: Andrew Nugged
QA Contact: Testopia
Depends on:
Reported: 2016-11-09 11:45 UTC by Stefan Berndtsson
Modified: 2020-06-30 21:46 UTC (History)
9 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
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?