Bug 39283

Summary: Middle name doesn't display in patron search results
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: PatronsAssignee: Lucas Gass (lukeg) <lucas>
Status: Pushed to stable --- QA Contact: Emily Lamancusa (emlam) <emily.lamancusa>
Severity: normal    
Priority: P5 - low CC: bibliotheque, emily.lamancusa, gmcharlt, hebah, kyle.m.hall, paul.derscheid
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.05.00,24.11.04
Circulation function:
Attachments: Bug 39283: Concat middle name with preffered name if it exists
Bug 39283: Concat middle name with preffered name if it exists
Bug 39283: Concat middle name with preffered name if it exists

Description Lucas Gass (lukeg) 2025-03-07 23:00:51 UTC
To recreate:

1. Have a patron with a middle name 
2. Do a patron search that brings them up, no middle name appears
Comment 1 Lucas Gass (lukeg) 2025-03-11 16:58:39 UTC
Created attachment 179174 [details] [review]
Bug 39283: Concat middle name with preffered name if it exists

1. Have a patron with a middle name
2. Do a patron search that brings them up, no middle name appears
3. APPLY PATCH
4. Try again, middle name should appear in patron searches.
Comment 2 Biblibre Sandboxes 2025-03-19 09:42:55 UTC
Created attachment 179469 [details] [review]
Bug 39283: Concat middle name with preffered name if it exists

1. Have a patron with a middle name
2. Do a patron search that brings them up, no middle name appears
3. APPLY PATCH
4. Try again, middle name should appear in patron searches.

Signed-off-by: SympoKoha <thibault.keromnes@univ-paris8.fr>
Comment 3 bibliotheque 2025-03-19 10:01:11 UTC
Sandboxes had a bug and put another signed-off

The correct one is :

Signed-off-by: Bibliothèque Ifao <bibliotheque@ifao.egnet.net>
Comment 4 Emily Lamancusa (emlam) 2025-03-20 18:04:38 UTC
Created attachment 179563 [details] [review]
Bug 39283: Concat middle name with preffered name if it exists

1. Have a patron with a middle name
2. Do a patron search that brings them up, no middle name appears
3. APPLY PATCH
4. Try again, middle name should appear in patron searches.

QA follow-up: made the same fix inline for other_name

Signed-off-by: Bibliothèque Ifao <bibliotheque@ifao.egnet.net>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Comment 5 Emily Lamancusa (emlam) 2025-03-20 18:14:29 UTC
Good catch, thanks Lucas! There was another spot a few lines down where other_names had the same issue, so I went ahead and fixed that inline as well.
Comment 6 Katrin Fischer 2025-03-21 16:51:20 UTC
Pushed for 25.05!

Well done everyone, thank you!
Comment 7 Paul Derscheid 2025-04-17 12:45:48 UTC
Nice work everyone!

Pushed to 24.11.x for 24.11.04