Bug 35839 - Local use is double-counted when using both RecordLocalUseOnCheckin and statistical patrons
Summary: Local use is double-counted when using both RecordLocalUseOnCheckin and stati...
Status: RESOLVED DUPLICATE of bug 35840
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 22:37 UTC by Andrew Fuerste-Henry
Modified: 2024-01-19 06:52 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2024-01-18 22:37:26 UTC
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.
Comment 1 Magnus Enger 2024-01-19 06:52:55 UTC
Looks like this was added twice.

*** This bug has been marked as a duplicate of bug 35840 ***