https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28530
--- Comment #108 from Andrew Fuerste-Henry <and...@bywatersolutions.com> --- In testing this, I've run into some shortcomings in its logic. I suspect these are things that were not considered to begin with, rather than things introduced in the recent change to use DBIC and a library object. As these float limits are enforced, we count items based purely on their holdingbranch, regardless of other values. Most pointedly, we don't consider whether or not those items are either checked out or in transit to another library. The goal here is to govern floating based on how many items are actually on the shelf, so this isn't ideal. My pretend library has a branch with a floating limit of 10 for the itemtype DVD, because they're small. At this small branch: - there are 10 DVDs available -- they're at their float limit - a patron checks out 5 DVDs, leaving 5 available Per the current logic, this library is *still* at their float limit because those 5 checked-out DVDs haven't changed their holding branch, even though we have no expectation that those DVDs will come back to the same branch they were checked out from. ** When an item is checked out, it should not count toward the float limit at *any* branch. A new scenario at my pretend library, again at the small branch with the float limit of 10 DVDs: - there are 10 DVDs available -- they're at their float limit - take one of those 10 available DVDs and check it in for a local use - Koha tells you to transfer that item away to keep under your float limit. Accept that transfer - Check in one of your 9 remaining available DVDs for another local use. Koha tells you to transfer this one away, too. Because the holding branch on the previous one hasn't changed yet and we're not looking at whether or not it's in transit. ** When an item is in transit, it should count toward the float limit at the branch it is transferring to, even when it hasn't been received yet. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/