multiple circulation limit sets does not work as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
As of 2.3, Evergreen does not know how to handle multiple Circulation Limit Sets attached to a Circulation Policy.
For example, let’s say a library allows patrons to checkout 10 total DVDs at a time and up to 5 of those DVDs can be from the Children’s DVD location. For this scenario I created a Circulation Limit Set for the DVD circulation modifier (limit to 10) and a separate Circulation Limit Set for the Children’s DVD location (limit to 5). I attached both Circulation Limit Sets to a circulation policy. Currently, Evergreen will prevent further checkouts when *either* limit is met. For example, if I check out 5 Children’s DVDs, Evergreen will prevent me from checking out additional adult DVDs. If I check out 5 adult DVDs first, I can then checkout up to 5 Children’s DVDs before Evergreen prevents me from checking out additional DVDs.
It would be preferable for Evergreen to take both Circulation Limit Sets into account and prevent checkouts only if the item being checked out would cause *that specific limit* to be exceeded.
If you tell a rule with no filters to limit to 10 DVDs it will stop them when they have 10 DVDs. Even if they are checking out a book.
If you tell a rule that is filtered to only apply to DVDs to limit to 10 DVDs then it will stop them when they have 10 DVDs and are trying to check out a DVD.
From the description you need to re-think how you are applying the limits and to what rules you are applying them to.
A rule that says "no more than 10 DVDs" should probably there. A second rule that says "no more than 5 Children's DVDs" would be applicable. If the fallthrough aspect doesn't pick up the 10 DVDs limit you need to apply it to the Children's DVDs rule *and* include Children's DVDs in the count on the 10 DVDs limit.