[Koha-bugs] [Bug 19025] Move C4::Reserves::GetReserveInfo to Koha::Holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 2 16:53:05 CEST 2017


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 65428
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65428&action=edit
Bug 19025: Move GetReserveInfo to Koha::Holds

This subroutine is only used once and can be replaced with a call to
Koha::Holds->find
It will avoid unnecessary joins.

Test plan:
- Define a HOLD_SLIP template notice using fields from the tables
reserves, branches, borrowers, biblio, biblioitems and items.
- Generate one and make sure the values are correctly filled

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list