Closed crynobone closed 12 years ago
There a bug with the current Orm package for FuelPHP, seem to me the order_by was added twice.
\Model_Work::query() ->order_by('to', 'ASC') ->order_by('from', 'DESC') ->get(); # Generate SELECT ... FROM `works` AS `t0` ORDER BY `t0`.`to` ASC, `t0`.`from` DESC, `t0`.`to` ASC, `t0`.`from` DESC
Issue was fixed and merged months ago. Closing issue.
There a bug with the current Orm package for FuelPHP, seem to me the order_by was added twice.
Reference:
Example Code: