]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 13:58:07 +0000 (10:58 -0300)
commit7323a56823c0b23faddd964206c8fc58431b769d
tree9aef88395e261df50e9c6291ed1a292cdb52b20c
parent64c4f115cde75c48f71cfd0d7bdb220f48212daf
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>
Koha/Acquisition/Orders.pm
acqui/lateorders.pl