Parent Directory | Revision Log | Patch
revision 4 by dpavlin, Mon Apr 13 21:26:43 2009 UTC | revision 5 by dpavlin, Mon Apr 13 22:12:38 2009 UTC | |
---|---|---|
# | Line 90 my $group_by = param('add_group_by'); | Line 90 my $group_by = param('add_group_by'); |
90 | if ( $group_by ) { | if ( $group_by ) { |
91 | @columns = ( "count($group_by)", $group_by ); | @columns = ( "count($group_by)", $group_by ); |
92 | my $g; | my $g; |
93 | foreach my $c ( @where_parts, param('order_by'), $group_by ) { | foreach my $c ( @where_parts, $group_by ) { |
94 | $c =~ s/\s.+$//; | $c =~ s/\s.+$//; |
95 | $g->{$c}++ if length($c) > 0; | $g->{$c}++ if length($c) > 0; |
96 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |