[Koha-bugs] [Bug 33837] Objects->filter_by_last_update: Does not allow time comparison
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 27 11:10:39 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33837
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #153915|0 |1
is obsolete| |
Attachment #153916|0 |1
is obsolete| |
Attachment #153917|0 |1
is obsolete| |
Attachment #153918|0 |1
is obsolete| |
Attachment #153919|0 |1
is obsolete| |
Attachment #153920|0 |1
is obsolete| |
--- Comment #29 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 153947
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153947&action=edit
Bug 33837: Add datetime comparison to filter_by_last_update
Test plan:
Verify that filter_by_last_update still works as expected by
running cleanup_database.pl with --messages DAYS parameter.
Look at the oldest messages.message_date (or insert one).
Run with -days X where today - X is before that date.
Run with -days Y where today - Y is just after it.
Note: misc/cronjobs/cleanup_database.pl -confirm -messages -1 -v
will remove all messages including one you inserted just now.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list