Sort application log DESC

resolves #4514
This commit is contained in:
Alexander Klimov 2014-04-01 12:49:13 +02:00
parent e6ec4c6011
commit d38e879d69
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class ListController extends Controller
) { ) {
$config = ResourceFactory::getResourceConfig('logfile'); $config = ResourceFactory::getResourceConfig('logfile');
$resource = ResourceFactory::createResource($config); $resource = ResourceFactory::createResource($config);
$this->view->logData = $resource->select()->paginate(); $this->view->logData = $resource->select()->order('DESC')->paginate();
} else { } else {
$this->view->logData = null; $this->view->logData = null;
} }