[Koha-bugs] [Bug 26327] Include checkout library in fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 9 19:25:57 CEST 2020


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

--- Comment #26 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 111420
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111420&action=edit
Bug 26327: Add ->library method to Koha::*Checkout

This patch adds a 'library' relationship to the Issue and OldIssue
resultsets, to be used in the Koha::*Checkout classes corresponding
accessors. This way we will be able to eventually embed and filter on
library fields on the API.

The ->library method is then added to the classes-

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Old.t t/db_dependent/Koha/Checkout.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list