]> git.koha-community.org Git - koha.git/commit
Bug 28078: Add 'ignore_hold_counts' param to CanItemBeReserved
authorNick Clemens <nick@bywatersolutions.com>
Fri, 2 Apr 2021 14:29:19 +0000 (14:29 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 24 May 2021 13:21:12 +0000 (13:21 +0000)
commitb936f0857df045322405a20b425a550cd419add6
treec531740077be7e63376ce1ee817d6e592dd087fe
parent2c3f6584e7cbf577539261637e146229ba19dff9
Bug 28078: Add 'ignore_hold_counts' param to CanItemBeReserved

This patch adds an optional param 'ignore_hold_counts' to the routine, while still forbidding holds when 0 are allowed

To test:
1 - prove -v t/db_dependent/Holds.t

Signed-off-by: David Nind <david@davidnind.com>
JK: Commit message amended: Fixed title formatting
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d3adcec676f97a1456dbb072479a99f7224e724c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit da72406fa52fe44574d8a64eeca1d8942cc86e99)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Reserves.pm
t/db_dependent/Holds.t