Changed the order of the categories at curation page

This commit is contained in:
Daniel Camargo 2013-07-09 20:42:55 -03:00
parent c7cdc073e3
commit 620dac8857

View File

@ -46,7 +46,7 @@ class Crunchbutton_Restaurant extends Cana_Table
public function foodReport( $orderByCategory = false ){
if( $orderByCategory ){
$orderBy = 'ORDER BY category ASC, total DESC';
$orderBy = 'ORDER BY c.sort ASC, total DESC';
} else {
$orderBy = 'ORDER BY total DESC';
}