Bug 39245

Summary: Preferred name should give option to replace more than first name
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, david, dcook, gmcharlt, kyle.m.hall, lisette, mteal
Version: 24.11   
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:
Bug Depends on: 28633    
Bug Blocks:    

Description Christopher Brannon 2025-03-04 22:34:19 UTC
We have a patron, for example only: Johnathan David Smith.  He goes by JD.  But the preferred name only replaces the first name.  There should be an option to also exclude the middle name.  Right now the preferred name shows the patron name as JD David Smith.  Should only show JD Smith.
Comment 1 Christopher Brannon 2025-06-25 22:24:27 UTC
This also goes for when the preferred name IS the middle name.
Comment 2 David Cook 2025-06-25 23:52:59 UTC
That sounds like a good enhancement to make
Comment 3 Andrew Fuerste-Henry 2025-06-26 12:46:35 UTC
Interesting! Do you suggest preferred name always include middle name, or that it be an option? Would that option be set per-patron or globally?
Comment 4 Christopher Brannon 2025-06-26 21:26:02 UTC
(In reply to Andrew Fuerste-Henry from comment #3)
> Interesting! Do you suggest preferred name always include middle name, or
> that it be an option? Would that option be set per-patron or globally?

I would say it should at least be an option per user and not global.  There might be a library somewhere that thinks if you use a nickname that you would want to do a blanket removal of the middle name with it, but at least per user would give you that option.
Comment 5 mteal 2025-06-30 13:18:48 UTC
I agree this would be a nice option. In the Johnathan David Smith example, if he goes by David as the preferred name, it displays as David David Smith. It would make more sense just to see David Smith.