[Koha-bugs] [Bug 35839] New: Local use is double-counted when using both RecordLocalUseOnCheckin and statistical patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 18 23:37:26 CET 2024


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

            Bug ID: 35839
           Summary: Local use is double-counted when using both
                    RecordLocalUseOnCheckin and statistical patrons
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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

To recreate:
- enable RecordLocalUseOnReturn
- create a statistical patron category and a patron in it
- check an item out to your statistical patron
- count local use entries with a report: SELECT * FROM statistics WHERE
type='localuse' AND itemnumber= (your item)
- see that your one checkout has created 2 entries in statistics

It seems plausible that a single library might want to use these two features
concurrently to count different things, but doing so creates an inflated count.

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