Bugzilla – Attachment 179273 Details for
Bug 39308
No space between preferred name and middle name in some places
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39308: Add space between preferred name and middle name
Bug-39308-Add-space-between-preferred-name-and-mid.patch (text/plain), 1.86 KB, created by
Owen Leonard
on 2025-03-13 15:30:51 UTC
(
hide
)
Description:
Bug 39308: Add space between preferred name and middle name
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-03-13 15:30:51 UTC
Size:
1.86 KB
patch
obsolete
>From c448a4c0520b66c4accbf7868a7301546d312952 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 11 Mar 2025 17:18:34 +0000 >Subject: [PATCH] Bug 39308: Add space between preferred name and middle name > >To test: >1. Find a patron with a middle name. >2. ON the checkout page or details page notice it displays like this: > 'EdnaMiddleName Acosta' >3. APPLY PATCH >4. Try again, middle name should include a space now. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >index 700fe59000..e25bc03041 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >@@ -80,7 +80,7 @@ > [%- ELSIF invert_name -%] > [%- data.title | $raw -%][%- data.surname | html -%][%- IF ( data.preferred_name ) -%], [% data.preferred_name | html -%][%- END -%][%- IF data.middle_name -%][% ' ' _ data.middle_name | html -%][%- END -%][%- IF data.othernames -%]([%- data.othernames | html -%])[%- END -%] > [%- ELSE -%] >- [%- data.title | $raw -%][%- data.preferred_name | html %][%- IF data.middle_name -%][% data.middle_name | html -%][%- END -%][%- IF data.othernames -%][%- ' (' _ data.othernames _ ')' | html -%][%- END -%] >+ [%- data.title | $raw -%][%- data.preferred_name | html %][%- IF data.middle_name -%][% ' ' _ data.middle_name | html -%][%- END -%][%- IF data.othernames -%][%- ' (' _ data.othernames _ ')' | html -%][%- END -%] > [% data.surname | html -%] > [%- END -%] > [%- IF display_cardnumber AND data.cardnumber -%][%- ' (' _ data.cardnumber _ ')' | html -%][%- END -%] >-- >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 39308
:
179175
|
179273
|
179320