mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-12-22 00:16:08 +01:00
Properly use order by doctrine api (#7)
This commit is contained in:
parent
17cbbe288e
commit
b19eb00329
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class NewestPageviewsList extends AbstractListWidget
|
|||
$this->queryBuilder
|
||||
->select('*')
|
||||
->from('tx_tracking_pageview')
|
||||
->orderBy('crdate desc')
|
||||
->orderBy('crdate', 'desc')
|
||||
->setMaxResults($this->settings['maxResults']);
|
||||
|
||||
if ($constraints !== []) {
|
||||
|
|
Loading…
Reference in a new issue