Sort with newest at top, not bottom.

This commit is contained in:
Kyle Johnson 2013-07-11 12:09:45 -04:00
parent 67ad15fdc5
commit 4265e8b45f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class LogsController extends AppController {
$this->set('loglines', $this->Log->find('all', array(
'limit' => 100,
'order' => array('TimeKey' => 'asc'),
'order' => array('TimeKey' => 'desc'),
'conditions' => $conditions
)));
$this->set('components', $this->Log->find('all', array(