Fixed sorting for popular/downloads sort in relation with bug 282696.
git-svn-id: svn://10.0.0.236/trunk@195784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0b1ce1b7f9
commit
1fd034f80d
@ -209,10 +209,10 @@ if (!empty($sql['sort'])) {
|
||||
$orderby .= " main.Name ASC";
|
||||
break;
|
||||
case 'rating':
|
||||
$orderby .= " main.Rating DESC";
|
||||
$orderby .= " main.Rating DESC, main.Name ASC";
|
||||
break;
|
||||
case 'downloads':
|
||||
$orderby .= " main.TotalDownloads DESC";
|
||||
$orderby .= " main.downloadcount DESC, main.Rating DESC";
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user