[Koha-bugs] [Bug 19056] Move C4::Reserves::GetReserveCount to the Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 22:54:19 CEST 2017


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 65604
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65604&action=edit
Bug 19056: Replace C4::Reserves::GetReserveCount with
Koha::Patron->holds->count

This subroutine is only used once and can easily be replaced with
Koha::Patron->holds->count

Test plan:
- Set maxreserves=5
- Place 3 holds for a given patron
- Place again 3 holds for this patron
3+3 > 5 => The holds must not be placed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list