Bug 21549: Use filter_by_last_update from filter_by_dateexpiry
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Apr 2021 14:12:03 +0000 (16:12 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Apr 2021 13:34:27 +0000 (15:34 +0200)
commitb4ad6987f76b018b21705a276ec149e0619776b9
treeb7e47d467e9a3471c59152951af4fd8fba962f14
parent1f0effd9a0bb80b2d504d8f2f886461730f3b7d7
Bug 21549: Use filter_by_last_update from filter_by_dateexpiry

To not reengineer the patch this patch does not remove the new
subroutine but make it use the logic from
Koha::Objects->filter_by_last_update

It also adds a new parameter "days_inclusive"

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Objects.pm
Koha/Patrons.pm
t/db_dependent/Koha/Objects.t