[Koha-bugs] [Bug 24440] Add ->current_holds to Koha::Acquisition::Order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 31 08:05:33 CET 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98195|0                           |1
        is obsolete|                            |

--- Comment #14 from David Nind <david at davidnind.com> ---
Created attachment 98206
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98206&action=edit
Bug 24440: Add ->current_holds to Koha::Acquisition::Order

This patch introduces a method to fetch the current holds associated with the
items linked to an order line. It basically implements what's done in
parcel.pl, but fully tested and suitable for using on the API.

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 <tomascohen at theke.io>

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list