While I was working on bug 33191 et al. I asked myself if the 'Main contact method' drop down was somehow linked to AutoEmailPrimaryAddress, as a way to override the system preference at patron level. I was told no, but I think it would make sense... If for example AutoEmailPrimaryAddress is set to 'home' (primary email), and a patron chooses their work email as their main contact method, there is no way to send email notices to their work email, is there? I would see it as something like the CheckPrevCheckouts, where it is possible to override the syspref at the patron-level. Not sure how it would work with custom values as introduced in bug 31498, however...
Agree that adding a new value to the system preference AutoEmailPrimaryAddress to match up the option chosen by the user on the Main contact method dropdown would be sensible. As it stands the AutoEmailPrimaryAddress preference doesn't have primary_contact_method as a selectable value, which should allow Koha to send notices to the patron's preferred email.
I think I'd do this a little differently. I think we should have an option to enable/disable that picker option at the patron level rather than adding it to primary address options. Then use it whenever explicitly set by the patron or use the primary address option if they've not set it. I also wonder where advanced patron messaging preferences should sit in regards to all this
(In reply to Martin Renvoize from comment #2) > I think I'd do this a little differently. I think we should have an option > to enable/disable that picker option at the patron level rather than adding > it to primary address options. Then use it whenever explicitly set by the > patron or use the primary address option if they've not set it. > > I also wonder where advanced patron messaging preferences should sit in > regards to all this If this works to prioritise the patron's preferred email choice, then I'd like to see it, would save our staff a lot of time manually swapping data between fields. Not sure what to say about messaging preferences, what are the possible impacts?