[Koha-bugs] [Bug 25429] `cleanup_database.pl` should remove resolved claims returned after X days
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 22 23:26:45 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25429
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Text to go in the|This enhancement adds the |This enhancement adds the
release notes|new |new
|`CleanUpDatabaseReturnClaim |`CleanUpDatabaseReturnClaim
|s` system preference |s` system preference
|allowing administrators to |allowing administrators to
|specify how many days after |specify how many days after
|resolution a claimed return |resolution a claimed return
|record should be deleted |record should be deleted
|from the database.
|from the database.
|
|
|For |For
|this functionality to be |this functionality to be
|enabled, the |enabled, the
|`cleanup_database.pl` must |`cleanup_database.pl` must
|be scheduled to run |be scheduled to run
|regularly with the new |regularly with the new
|`--returns_claims` |`--return_claims` parameter
|parameter passed. |passed.
--- Comment #56 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Wondering: return-claims or return_claims?
+ --return-claims Purge all resolved return claims older than the
number of days specified in
+ the system preference CleanUpDatabaseReturnClaims.
vs.
+$return_claims = C4::Context->preference('CleanUpDatabaseReturnClaims') if
$return_claims;
if ($return_claims) {
print "Purging return claims older than $return_claims days.\n" if
$verbose;
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list