Bug 40341 - Patron Category Messaging Preferences Not Applied to Existing Patrons
Summary: Patron Category Messaging Preferences Not Applied to Existing Patrons
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-10 16:56 UTC by Sandeep Patel
Modified: 2025-07-11 10:23 UTC (History)
3 users (show)

See Also:
GIT URL:
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 Sandeep Patel 2025-07-10 16:56:06 UTC

    
Comment 1 Sandeep Patel 2025-07-10 16:57:59 UTC
When messaging preferences (such as overdue or hold notices) are enabled or updated at the patron category level, these settings are only applied to new patrons created under that category.

However, existing patrons who belong to that category do not inherit or update to reflect the new messaging preferences, resulting in inconsistent notification behavior across the same patron type.

This breaks the expected behavior where patron category acts as a policy template, and makes large-scale policy updates difficult to manage without direct database manipulation.


regards,
Sandeep Patel
sandeep.patel@digiarc.in
Comment 2 George Williams (NEKLS) 2025-07-10 20:52:03 UTC
At our libraries we use the messaging preferences as defaults for new users and then allow patrons to modify their messaging preferences to meet their own needs.  We don't use the patron category controls to act as a policy template and I wouldn't want any changes I might make to the messaging preferences on categories.pl to affect any changes for our patrons that may have previously made to their messaging preferences.

Any changes to categories.pl that would cause it to act as a patron policy template should be designed to be optional.
Comment 3 Sandeep Patel 2025-07-11 10:23:38 UTC
Hi William,

Is there a way to update messaging preferences for existing patrons from the backend via script or database?

Regardsm
Sandeep Patel