[Rt-commit] rt branch, 4.4/stacked-bar-chart, updated. rt-4.4.2-68-gb7db362fc

Jim Brandt jbrandt at bestpractical.com
Sat Feb 3 10:48:47 EST 2018


The branch, 4.4/stacked-bar-chart has been updated
       via  b7db362fcc37049ed4b608a1a02ce71cdb89843d (commit)
      from  5ae593a4cfb08166a705ea07e7a6c03b3075725d (commit)

Summary of changes:
 share/html/Search/Chart.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit b7db362fcc37049ed4b608a1a02ce71cdb89843d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Sat Feb 3 10:48:39 2018 -0500

    Avoid uninitialzed value in eq warning

diff --git a/share/html/Search/Chart.html b/share/html/Search/Chart.html
index e5889d52c..68fb2fec0 100644
--- a/share/html/Search/Chart.html
+++ b/share/html/Search/Chart.html
@@ -152,7 +152,7 @@ $m->callback( ARGSRef => \%ARGS, QueryArgsRef => \%query );
     Query => $query{Query},
     Default => $query{'GroupBy'}[1] // q{},
     ShowEmpty => 1,
-    Stacked => $query{'GroupBy'}[1] && ($query{'GroupBy'}[1] eq $query{StackedGroupBy} // '') ? 1 : 0,
+    Stacked => $query{'GroupBy'}[1] && ($query{'GroupBy'}[1] eq ($query{StackedGroupBy} // '')) ? 1 : 0,
     &>
 </fieldset>
 <fieldset><legend><% loc('and then') %></legend>
@@ -161,7 +161,7 @@ $m->callback( ARGSRef => \%ARGS, QueryArgsRef => \%query );
     Query => $query{Query},
     Default => $query{'GroupBy'}[2] // q{},
     ShowEmpty => 1,
-    Stacked => $query{'GroupBy'}[2] && ($query{'GroupBy'}[2] eq ($query{StackedGroupBy}) // '') ? 1 : 0,
+    Stacked => $query{'GroupBy'}[2] && ($query{'GroupBy'}[2] eq ($query{StackedGroupBy} // '')) ? 1 : 0,
     &>
 </fieldset>
 </&>

-----------------------------------------------------------------------


More information about the rt-commit mailing list