Bug 40595

Summary: Privacy setting when changing patron category
Product: Koha Reporter: Kalle Karlsson <kalle>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle, lari.taskula, olsson.nic
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Kalle Karlsson 2025-08-05 13:35:45 UTC
When a patron's category is changed, the associated privacy setting (privacy) is not updated accordingly.

For example, if the original category has privacy = 1 and the new category has privacy = 0, the patron's privacy setting remains at 1 after the change, instead of reflecting the new category's setting.

This is problematic for clients who use specific patron categories to control whether circulation history should be stored and displayed.
Comment 1 Lari Taskula 2025-09-17 08:02:12 UTC
We should also take into account patrons that have manually chosen another setting different from the category default.

For example, if the original category has privacy = 1 and the new category has privacy = 0, but the patron has manually chosen privacy = 2, we should not overwrite their choice.