[Koha-bugs] [Bug 25670] Add a method to search by ordernumber on transfered ones as well to K:A:Orders

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 10 20:51:34 CEST 2020


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 109860
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109860&action=edit
Bug 25670: Add filter_by_active and filter_by_id_including_transfers

This patch introduces a method to filter on the ordernumber, looking for
it on the aqorders_transfers table ('ordernumber_from' field).

It also adds a method for filtering on active orders.

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

lib

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


More information about the Koha-bugs mailing list