Bugzilla – Attachment 179174 Details for
Bug 39283
Middle name doesn't display in patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39283: Concat middle name with preffered name if it exists
Bug-39283-Concat-middle-name-with-preffered-name-i.patch (text/plain), 1.14 KB, created by
Lucas Gass (lukeg)
on 2025-03-11 16:58:39 UTC
(
hide
)
Description:
Bug 39283: Concat middle name with preffered name if it exists
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-03-11 16:58:39 UTC
Size:
1.14 KB
patch
obsolete
>From 4d85641d2a41909ea36f5bcd55ac513dd80227f1 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 11 Mar 2025 16:57:47 +0000 >Subject: [PATCH] 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. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc >index ba0197ebaae..42c647e085b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc >@@ -25,6 +25,7 @@ > > if (patron.middle_name != null && patron.middle_name != "") { > firstname += " " + escape_str(patron.middle_name); >+ preferred_name += " " + escape_str(patron.middle_name); > } > > if (patron.other_name != null && patron.other_name != "") { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39283
:
179174
|
179469
|
179563