[Rt-commit] r18000 - in rt/3.999/branches/merge_to_3.8.2: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 29 04:11:46 EST 2009
Author: sunnavy
Date: Thu Jan 29 04:11:46 2009
New Revision: 18000
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/Chart
Log:
r19190 at sunnavys-mb: sunnavy | 2009-01-29 16:40:38 +0800
merged share/html/Search/Elements/Chart
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/Chart
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/Chart (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Search/Elements/Chart Thu Jan 29 04:11:46 2009
@@ -94,9 +94,10 @@
}
my %data;
-foreach my $key (@keys) { $data{$key} = shift @values; }
-my @sorted_keys = sort @keys;
-my @sorted_values = map { $data{$_}} @sorted_keys;
+my %loc_keys;
+foreach my $key (@keys) { $data{$key} = shift @values; $loc_keys{$key} = _($key); }
+my @sorted_keys = map { $loc_keys{$_}} sort { $loc_keys{$a} cmp $loc_keys{$b} } keys %loc_keys;
+my @sorted_values = map { $data{$_}} sort { $loc_keys{$a} cmp $loc_keys{$b} } keys %loc_keys;
my $query_string = $m->comp('/Elements/QueryString', %ARGS);
@@ -112,7 +113,7 @@
<table class="collection-as-table">
<tr>
-<th class="collection-as-table"><% $tix->label($primary_group_by) %>
+<th class="collection-as-table"><% _($tix->label($primary_group_by)) %>
</th>
<th class="collection-as-table"><&|/l&>Tickets</&>
</th>
More information about the Rt-commit
mailing list