[Koha-bugs] [Bug 32440] New: Allow selective deletion of statistics entries based on type by cleanup_database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 9 18:50:40 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32440
Bug ID: 32440
Summary: Allow selective deletion of statistics entries based
on type by cleanup_database
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrewfh at dubcolib.org
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Depends on: 24151
Cleanup_database can delete all statistics entries more than X days old. If one
is using pseudonymization to create pseudonymized_transactions data, then one
may wish to use that cleanup_database function to delete statistics entries
that have been duplicated in pseudonymized_transactions. However, not all types
of transactions in statistics are duplicated in pseudonymized transactions.
Statistics includes checkouts, returns, renewals, payments, writeoffs, and
localuse. Pseudonymized_transactions only includes checkouts, returns, and
renewals.
It would be helpful to be able to delete only statistics entries more than X
days old and in a specified list of types.
Approaching this from the other end, Bug 32438 suggests adding payments and
writeoffs to pseudonymized_transactions.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24151
[Bug 24151] Add a pseudonymization process for patrons and transactions
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list