[Koha-bugs] [Bug 25670] Add useful methods to Koha::Acquisition::Orders
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 24 22:13:06 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25670
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #110644|0 |1
is obsolete| |
--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 110701
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110701&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
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.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