[Rt-commit] rt branch, 4.2/chart-label-looks-like-number, repushed

Jim Brandt jbrandt at bestpractical.com
Tue Feb 11 15:25:05 EST 2014


The branch 4.2/chart-label-looks-like-number was deleted and repushed:
       was 446aa20ed7dfd4997f4ab063a099c045eb4d5c00
       now 0c8118025e686862bba58d4f1effd8a8393fbfbe

1:  446aa20 ! 1:  0c81180 Sort chart label values numerically if they all look like numbers
    @@ -27,7 +27,7 @@
     +        }
     +
     +        my $order = $looks_like_number ? 'numeric label' : 'label';
    -+        $order //= $group_by->{'META'}{Sort};
    ++        $order = $group_by->{'META'}{Sort} if exists $group_by->{'META'}{Sort};
     +
              if ( $order eq 'label' ) {
                  push @SORT_OPS, sub { $_[0][$idx] cmp $_[1][$idx] };



More information about the rt-commit mailing list