From 16ee9f9d32ffafd4667264666d7f43fc671c1025 Mon Sep 17 00:00:00 2001
From: =?UTF-8?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
---
koha-tmpl/intranet-tmpl/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 98cc1ff..34bf1ed 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 ) %]