[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-345-ge9196ba

? sunnavy sunnavy at bestpractical.com
Thu Apr 15 19:19:43 EDT 2010


The branch, 3.8-trunk has been updated
       via  e9196ba4a751ff72dbeae2c1877d7319f0c1fb1a (commit)
      from  85a041454164c4c16821cbd19b5651a8313becb6 (commit)

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

- Log -----------------------------------------------------------------
commit e9196ba4a751ff72dbeae2c1877d7319f0c1fb1a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Apr 16 07:18:45 2010 +0800

    shouldn't use the loocalized $key in query

diff --git a/share/html/Search/Elements/Chart b/share/html/Search/Elements/Chart
index 4355006..4693c9d 100644
--- a/share/html/Search/Elements/Chart
+++ b/share/html/Search/Elements/Chart
@@ -120,7 +120,7 @@ my $query_string = $m->comp('/Elements/QueryString', %ARGS);
 %        && $key ne loc('(no value)') ) {
 % my $group = $PrimaryGroupBy; $group =~ s! !.!;
 % my $QueryString = $m->comp('/Elements/QueryString',
-%                           Query   => "$Query and $group = '$key'",
+%           Query => "$Query and $group = '${{ reverse %loc_keys }}{$key}'",
 %                           Format  => $ARGS{Format},
 %                           Rows    => $ARGS{Rows},
 %                           OrderBy => $ARGS{OrderBy},

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


More information about the Rt-commit mailing list