Sort with newest at top, not bottom.
This commit is contained in:
parent
67ad15fdc5
commit
4265e8b45f
|
@ -19,7 +19,7 @@ class LogsController extends AppController {
|
||||||
|
|
||||||
$this->set('loglines', $this->Log->find('all', array(
|
$this->set('loglines', $this->Log->find('all', array(
|
||||||
'limit' => 100,
|
'limit' => 100,
|
||||||
'order' => array('TimeKey' => 'asc'),
|
'order' => array('TimeKey' => 'desc'),
|
||||||
'conditions' => $conditions
|
'conditions' => $conditions
|
||||||
)));
|
)));
|
||||||
$this->set('components', $this->Log->find('all', array(
|
$this->set('components', $this->Log->find('all', array(
|
||||||
|
|
Loading…
Reference in New Issue