[Koha-bugs] [Bug 25429] Cleanup Database - remove resolved claims returned from db after X days

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 6 12:13:19 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25429

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org
             Status|Passed QA                   |Failed QA

--- Comment #24 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
1.
Please use the same syntax as the other entries.
You need to use filter_by_last_update (inherited from Koha::Objects) to get the
object set. It will offer a better verbose and confirm support.

See the "$pOldIssues" block for a good example.

2.
Why don't we add an option to the script, like the other flags? I would have
expected a default number of days picked from the pref, and a flag passed to
the script.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list