]> git.koha-community.org Git - koha.git/commit
Bug 31112: (follow-up) Don't return "on_reserve" when there are 0 possible holds
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Mon, 22 Aug 2022 19:02:14 +0000 (19:02 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 31 Oct 2022 17:44:24 +0000 (17:44 +0000)
commitd79aee017bfae97775f34321390fdc2155e599d6
treed30b6f09f365b5776b1ff87d707770247308397d
parent35c6fcec5fa477389b723a866c77ff11588a2909
Bug 31112: (follow-up) Don't return "on_reserve" when there are 0 possible holds

It's possible that there could be 0 possible reserves, for example
when the hold has already been filled, thus the check would fail as
the item count can never be less than 0.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 507edad61f16d99d4fba4ce343cbaa6eb3950957)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm