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

--- Comment #11 from Joonas Kylmälä <[email protected]> ---
oh, I think I discovered a bug in the CanBookBeRenewed function. We are calling

> next unless IsAvailableForItemLevelRequest($item, $patron); 

and we are not passing the ignore_hold_counts=>1 here even though we should be.
The patch "Bug 28013: (follow-up) Correct and update call to CanItemBeReserved"
which is pushed already fixed it for the CanItemBeReserved() function call just
the line below but this has the same bug.

If you follow this code path you will notice the bug:

IsAvailableForItemLevelRequest -> ItemsAnyAvailableAndNotRestricted ->
CanItemBeReserved

So this needs to kept also in mind while doing the perf work here.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to