]> git.koha-community.org Git - koha.git/commit
Bug 19299: Replace C4::Reserves::GetReservesForBranch with Koha::Holds->waiting
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Sep 2017 15:49:33 +0000 (12:49 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Dec 2017 14:34:19 +0000 (11:34 -0300)
commite110f90c342841dfb57a88b27e4ef882f7ecc39e
treed60fe5a7b9005cc3fabbea4c01e27687ea78af49
parent1e9b7301022f3737f028246d11e9a32883280d53
Bug 19299: Replace C4::Reserves::GetReservesForBranch with Koha::Holds->waiting

GetReservesForBranch simply returns the waiting holds, for a specific
branch of not. This can easily be replaced with a call to
Koha::Holds->waiting

To avoid any regressions, I reuse the exact conditions (priority = 0),
but I do not think it is useful.

Test plan:
Make sure the holds information are correctly displayed on the waiting
holds screen.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm
circ/waitingreserves.pl