[Koha-bugs] [Bug 32441] New: Localuse is recorded in statistics but not recreated in pseudonymized_transactions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 9 19:00:23 CET 2022


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

            Bug ID: 32441
           Summary: Localuse is recorded in statistics but not recreated
                    in pseudonymized_transactions
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrewfh at dubcolib.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

The pseudonymization feature creates a parallel to the statistics table without
identifiable patron data. This allows one to then use cleanup_database to
delete old entries in statistics to remove that patron data.

However, the statistics table also contains records of local use. That data
only exists in statistics. It is not duplicated in pseudonymized_transactions,
and so is lost if statistics are deleted using cleanup_database.

Bug 32440 suggests teaching cleanup_database to not delete localuse entries.

This bug suggests putting localuse entries into pseudonymized_transactions,
even though no patron is involved. That's a bit illogical, but has the benefit
of keeping all of this data together.

Meanwhile, Bug 16122 suggesting keeping a local use count in the item record.
That would alleviate this issue somewhat, but specific transactional data would
be preferable to a running count.

-- 
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