From 3c43454da6ef73889bf97ac53bd6c4e287ab239d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 11 Mar 2025 17:18:34 +0000 Subject: [PATCH] Bug 39308: Add space between preferred name and middle name Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- 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