]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Apr 2021 14:28:06 +0000 (16:28 +0200)
commitd3adcec676f97a1456dbb072479a99f7224e724c
tree6251dc1ca4e787747ce28259905c031733993be1
parent34acb76a21c01c849283efe066d10d5ee78cd9e5
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>
C4/Reserves.pm
t/db_dependent/Holds.t