Changeset 1865

Show
Ignore:
Timestamp:
04/11/08 19:19:21 (22 months ago)
Author:
bchoate
Message:

Changed sort clause to use number instead of count(*) function which caused a problem on MySQL 4. BugId:79279

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/CMS/Dashboard.pm

    r1857 r1865  
    390390    my $args = {}; 
    391391    $args->{group} = [ 'tag_id' ]; 
    392     $args->{sort} = 'count(*)'; 
     392    $args->{sort} = '1'; # sort by count(*) 
    393393    $args->{direction} = 'descend'; 
    394394    $args->{limit} = 100;