Bug 17678: C4::Circulation - Replace GetIssues with Koha::Issues
commit3a41dffaf3908f2397bc662e2a9d77cff6521bd0
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Nov 2016 10:12:20 +0000 (25 11:12 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 23 Dec 2016 11:46:20 +0000 (23 11:46 +0000)
tree4706335b58b16555b832ac66e95ea62155426f20
parent3de12fdeed83aeadbc5a2bcd32547d06ad8cd5f7
Bug 17678: C4::Circulation - Replace GetIssues with Koha::Issues

The C4::Circulation::GetIssues subroutine is only called once and can be
replaced with a call to Koha::Isues->search with a join on items.

Test plan:
- Apply first patch and make sure the tests pass
- Apply second patch and make sure the tests still pass

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm
t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t [moved from t/db_dependent/Circulation/GetIssues.t with 69% similarity]