]> git.koha-community.org Git - koha.git/commit
Bug 17740: Add the Koha::Patron->holds method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Dec 2016 13:42:41 +0000 (14:42 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 11:38:51 +0000 (11:38 +0000)
commit81585647ef6ab330cf3d7e6cb80717aa7bf891b9
treef0b2dc1caddad735add7339862b9496083dbc7f6
parent3371b08123ad5848ee6202c1ac8609276c46f9a1
Bug 17740: Add the Koha::Patron->holds method

The goal of this method is to replace
C4::Reserves::GetReservesFromBorrowernumber but could be reused for
something else, that's why it has its own bug report.

Test plan:
  prove t/db_dependent/Koha/Patrons.t
should return green

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Rebased. Edited two test descriptions.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Patron.pm
t/db_dependent/Koha/Patrons.t