From 5d3265f52751d70cb87b7919cb0258ffb7c2e768 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 8 Jan 2018 15:37:45 +0000 Subject: [PATCH] Bug 16782: (QA follow-up) Use Koha.Preference for staffClientBaseURL and provide classes Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- .../prog/en/modules/reports/guided_reports_start.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 4ec8f332aa..f32b5313d2 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 @@ -388,8 +388,8 @@ canned reports and writing custom SQL reports.

Creation date Last edit Last run - Public - JSON URL + Public + JSON URL [% IF (usecache) %] Cache expiry (seconds) [% END %] Saved results [% IF has_obsolete_reports %]Update[% END %] @@ -420,18 +420,18 @@ canned reports and writing custom SQL reports.

[% savedreport.date_created | $KohaDates %] [% savedreport.last_modified | $KohaDates with_hours => 1 %] [% savedreport.last_run | $KohaDates with_hours => 1 %] - + [% IF (savedreport.public) %] Yes [% ELSE %] No [% END %] - + [% IF (savedreport.public) %] [% OPACBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] [% ELSE %] - [% staffClientBaseURL %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] + [% Koha.Preference('staffClientBaseURL') %]/cgi-bin/koha/svc/report?id=[% savedreport.id | html %] [% END %] [% IF (usecache) %] [% savedreport.cache_expiry %] [% END %] -- 2.39.5