[Koha-bugs] [Bug 26659] An item can be renewed even if there are holds waiting to be filled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 26 11:16:03 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26659

--- Comment #8 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
While doing the refactoring I came across this comment

> # If the count of the union of the lists of reservable items for each borrower
> # is equal or greater than the number of borrowers, we know that all reserves
> # can be filled with available items. We can get the union of the sets simply
> # by pushing all the elements onto an array and removing the duplicates.

which seems to describe incorrect behaviour. This only assumes that there is
one reserve per patron but there can be multiple reserves per patron to the
same biblio. Please let me know if you think this behaviour of only taking into
account one reserve needs to be kept intact.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list