From 0ffadd9032226853aaf0f29607d93dd9ca88196c 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.
---
.../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 ) %]