From 0cce8dc6e17f8525e02f0aaecbbc3f1c261f27fb 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 Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- .../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.20.1