From d1cdbf9d56038f0305f9be90205c0315882ec711 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Marc=20V=C3=A9ron?=
Date: Sun, 19 Apr 2015 07:37:37 +0200
Subject: [PATCH] Bug 14008: Proposed follow-up: Dialog should appear whenever
filters are active
The first patch displays the value(s) of an active filter if you come back to the page or reload the page via a menu action.
To make the situation more clear the dialog "No saved reports match your criteria." shoudl always appear when a filter is active.
Signed-off-by: Mark Tompsett
Signed-off-by: Katrin Fischer
Signed-off-by: Tomas Cohen Arazi
---
.../prog/en/modules/reports/guided_reports_start.tt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 e614f06790..3dc0a6eef6 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
@@ -374,7 +374,7 @@ canned reports and writing custom SQL reports.
[% ELSE %]
- [% IF (filter_set) %]
+ [% IF (filter_set || filters.date || filters.author || filters.keyword) %]
No saved reports match your criteria.
[% IF ( CAN_user_reports_create_reports ) %]