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

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 97468
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97468&action=edit
Bug 24440: Add ->holds and ->holds_count to Koha::Acquisition::Order

This patch introduces a method to fetch the holds associated with the
items associated to an order line. It also adds a method to get that
holds count, which will be handy on the API for embedding such
information on request.

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

Signed-off-by: Tomas Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to