[Koha-bugs] [Bug 28968] New: recreateIssueStatistics.pl should (optionally?) ignore the anonymous borrower

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 7 23:23:04 CEST 2021


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

            Bug ID: 28968
           Summary: recreateIssueStatistics.pl should (optionally?) ignore
                    the anonymous borrower
 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: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

The script recreateIssueStatistics.pl compares issues/old_issues to statistics
to determine if there are any borrowernumber/itemnumber/date combinations
present in the former that are not present in the latter. If it finds anything
in (old_)issues that's not in statistics, it writes it into statistics to
correct things.

However, this goes awry really quickly if one is anonymizing reading history.
In those cases, we expect to have a bunch of entries in old_issues tied to the
anonymous borrower, but we never expect to find the anonymous borrower in the
statistics table because we're maintaining the actual patron's borrowernumber
there.

recreateIssueStatistics.pl should have the option to *not* copy/recreate issues
tied to the anonymous borrower.

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


More information about the Koha-bugs mailing list