Bug 33986 - Patron privacy settings affecting statistics tab in patron account
Summary: Patron privacy settings affecting statistics tab in patron account
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-12 16:05 UTC by Christopher Brannon
Modified: 2023-06-12 19:28 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2023-06-12 16:05:41 UTC
If a patron clears their history on the OPAC, is it supposed to be clearing the statistics page on the patron on the staff side?  This is generalized info, and it seems like one shouldn't have to do with the other?
Comment 1 Katrin Fischer 2023-06-12 17:12:24 UTC
It should only anonymize it / remove the borrowernumber.
Comment 2 Katrin Fischer 2023-06-12 17:12:43 UTC
Hm, maybe in some cases the Anon user's borrowernumber would be used, haven't checked.
Comment 3 Christopher Brannon 2023-06-12 17:18:51 UTC
I just tested this.  I checked out items with the privacy allowing history.  The patron stats tab showed the generalized transactions.  As soon as I cleared the data on the OPAC, the stats disappeared on the staff side.  This shouldn't be happening.  General stats on the patron record should not be related to patron privacy.
Comment 4 Katrin Fischer 2023-06-12 17:34:24 UTC
Ah ok, you talk about the statistics tab. The data there is not from a generalized table/counters. It's pulled as a summary from reading histories, so yes, the data is lost.
Comment 5 Christopher Brannon 2023-06-12 19:15:28 UTC
I'm thinking this should be changed somehow.  Doesn't seem right that this should disappear because of privacy settings, or am I wrong?
Comment 6 Katrin Fischer 2023-06-12 19:28:03 UTC
It would need to be completely rewritten.