Changed the order of the categories at curation page
This commit is contained in:
parent
c7cdc073e3
commit
620dac8857
@ -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';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user