]> git.koha-community.org Git - koha.git/commit
Bug 33653: Use filter_by_active instead
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 13:36:40 +0000 (10:36 -0300)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 12:06:44 +0000 (12:06 +0000)
commit1dbc3ac100c1e90682609da34217363329adb815
treebfeee19169d56ea4d43d4e17dce5921aef931868
parentc48087b551e9db34ea503c3ea7af7f0490fcb83a
Bug 33653: Use filter_by_active instead

This patch makes `filter_by_lates` use the `filter_by_active` method
instead of an ad-hoc query filter. It has the advantage that it
considers standing orders too.

No behavior change, tests should still pass.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7323a56823c0b23faddd964206c8fc58431b769d)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Acquisition/Orders.pm
acqui/lateorders.pl