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

Marc Véron <ve...@veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65604|0                           |1
        is obsolete|                            |

--- Comment #2 from Marc Véron <ve...@veron.ch> ---
Created attachment 65617
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65617&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

Signed-off-by: Marc Véron <ve...@veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to