Bug 31112: (follow-up) Bring back the check for non-priority holds
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Mon, 22 Aug 2022 19:02:03 +0000 (19:02 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 26 Aug 2022 18:59:16 +0000 (15:59 -0300)
commit8ad992630181413d3be9935309b61d50d2e3a951
treee04ba9a23bbbc2112791a2f7f234a55ea2c1da33
parent2eb053603d9df3b03f4ee0ec54f84a697aab8716
Bug 31112: (follow-up) Bring back the check for non-priority holds

Before the changes from bug 31112 when CheckReserves returned a
non-priority hold we didn't return "on_reserve" status but checked in
addition to that whether there are any priority holds and if there
were, only then we returned the "on_reserve" error.

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>
C4/Circulation.pm