https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32440 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|Cleanup_database can delete |Cleanup_database can delete release notes|all statistics entries more |all statistics entries more |than X days old. If one is |than X days old. If one is |using pseudonymization to |using pseudonymization to |create |create |pseudonymized_transactions |pseudonymized_transactions |data, then one may wish to |data, then one may wish to |use that cleanup_database |use that cleanup_database |function to delete |function to delete |statistics entries that |statistics entries that |have been duplicated in |have been duplicated in |pseudonymized_transactions. |pseudonymized_transactions. |However, not all types of |However, not all types of |transactions in statistics |transactions in statistics |are duplicated in |are duplicated in |pseudonymized transactions. |pseudonymized transactions. | | |Pseudonymized_transactions |Pseudonymized_transactions |currently only includes |currently only includes |checkouts, returns, |checkouts, returns, |and |and |renewals. |renewals. | | |This patch adds |This patch adds |two additional parameters |two additional parameters |to cleanup_database.pl: |to cleanup_database.pl: | | |1. |1. |--statistics-type |`--statistics-type` | | |Defines |Defines the types of |the types of statistics to |statistics to purge. Will |purge. Will purge all types |purge all types if |if parameter is omitted. |parameter is omitted. |Repeatable. |Repeatable. | | |2. |2. |--statistics-type-pseudo |`--statistics-type-pseudo` | | |Grabs values from |Grabs values from |@Koha::Statistic::pseudonym |@Koha::Statistic::pseudonym |ization_types. At the time |ization_types. At the time |of implementation these |of implementation these |are: renew, issue, return |are: renew, issue, return |and onsite_checkout |and onsite_checkout -- You are receiving this mail because: You are watching all bug changes.