From 1ad2bb18a160fbe8bdb6e03682a9c7938c47c152 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 28 Apr 2022 15:17:35 +0000 Subject: [PATCH] Bug 30632: Fix report author display in list of saved reports This patch removes whitespace in the template around the markup of report author first name and surname. This prevents unwanted spaces in the output. To test, apply the patch and go to Reports -> Use saved. The display of report author should be like this: Leonard, Owen (123456) Instead of Leonard , Owen (20375) Signed-off-by: David Nind --- .../prog/en/modules/reports/guided_reports_start.tt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 50b0aa4529..7253410094 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -332,10 +332,7 @@ [% savedreport.notes | html %] - [% savedreport.borrowersurname | html %] - [% IF ( savedreport.borrowerfirstname ) %] - , [% savedreport.borrowerfirstname | html %] - [% END %] + [%- savedreport.borrowersurname | html -%][%- IF ( savedreport.borrowerfirstname ) -%], [%- savedreport.borrowerfirstname | html -%][%- END -%] ([% savedreport.borrowernumber | html %]) -- 2.30.2