diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
index 198a364f7c..42878e1215 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
@@ -9,7 +9,7 @@
[% END %]
- [% IF ( showsql || execute || editsql || save_successful ) %]
+ [% IF ( showsql || execute || editsql || save_successful || runreport ) %]
[% IF ( CAN_user_reports_create_reports ) %]
[% UNLESS ( editsql ) # Do not show edit button on edit page %]
@@ -45,6 +45,18 @@
[% END %]
+
+ [% IF ( runreport ) %]
+
+
+
+
+ [% END %]
+
[% END %]
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 066df5f147..b01d579e72 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
@@ -841,19 +841,6 @@ canned reports and writing custom SQL reports.
[% END %]
-
[% END %]
[% END %]
diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl
index 75040f4278..8fa0811c16 100755
--- a/reports/guided_reports.pl
+++ b/reports/guided_reports.pl
@@ -787,6 +787,7 @@ elsif ($phase eq 'Run this report'){
$url = join('&sql_params=', $url, map { URI::Escape::uri_escape_utf8($_) } @sql_params);
}
$template->param(
+ 'runreport' => 1,
'results' => \@rows,
'sql' => $sql,
'id' => $report_id,