]> git.koha-community.org Git - koha.git/commit
Bug 19935: Replace GetPendingIssues - Discharges
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Jan 2018 14:15:02 +0000 (11:15 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Apr 2018 14:43:37 +0000 (11:43 -0300)
commit3c4677efc765979643315c238c405843fe9be654
tree142afec43bc0847dc82fd542e8ca3618babd5b61
parent0265c4ae29f860f36baccc9b09537b3cc0368274
Bug 19935: Replace GetPendingIssues - Discharges

We should actually use Koha::Patron->checkouts here to avoid the
prefetch.

Test plan:
A patron with checkouts cannot get a discharge

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@deichman.no>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron/Discharge.pm