From 40fd3295b13f356da37e12be9ce7be8b2842a15b Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 17 Mar 2023 17:48:22 +0000 Subject: [PATCH] Bug 33266: Fix missing space in patron title This patch fixes the missing space in patron-title.inc Test plan: 1) Visit a patron's detail page and observe that there should be a missing space between the first name and the surname 2) Apply patch 3) The name should now be correctly formatted --- 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 24755d4566..a633697a59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc @@ -68,7 +68,7 @@ [%- ELSIF invert_name -%] [%- data.title | $raw -%][%- data.surname | html -%][%- IF ( data.firstname ) -%], [% data.firstname | html -%][%- END -%][%- IF data.middle_name -%] [% data.middle_name | html -%][%- END -%][%- IF data.othernames -%] ([%- data.othernames | html -%])[%- END -%] [%- ELSE -%] - [%- data.title | $raw -%][%- data.firstname | html -%][%- IF data.middle_name -%] [% data.middle_name | html -%][%- END -%][%- IF data.othernames -%] ([%- data.othernames | html -%]) [%- END -%] [%- data.surname | html -%] + [%- data.title | $raw -%][%- data.firstname | 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 -%] [%- ELSIF display_cardnumber -%] -- 2.37.1 (Apple Git-137.1)