[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-339-g18ebba8
Shawn Moore
sartak at bestpractical.com
Fri Apr 9 17:47:11 EDT 2010
The branch, 3.8-trunk has been updated
via 18ebba89c2db2acfbde7fe1b324c9b8cb476fac6 (commit)
from ac867d76715986ff780c0800bfd66cd951b03625 (commit)
Summary of changes:
share/html/Dashboards/Elements/HiddenSearches | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 18ebba89c2db2acfbde7fe1b324c9b8cb476fac6
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Apr 9 17:47:04 2010 -0400
Ignore deleted searches for HiddenSearches
diff --git a/share/html/Dashboards/Elements/HiddenSearches b/share/html/Dashboards/Elements/HiddenSearches
index aa3a67e..753d2fe 100644
--- a/share/html/Dashboards/Elements/HiddenSearches
+++ b/share/html/Dashboards/Elements/HiddenSearches
@@ -50,6 +50,9 @@
$Dashboard
</%args>
<%init>
+# eliminate deleted searches (id=0) because they confuse this logic
+ at searches = grep { $_->Id } @searches;
+
return if @searches == 0;
my @display;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list