mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-22 13:56:09 +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
|
$this->queryBuilder
|
||||||
->select('*')
|
->select('*')
|
||||||
->from('tx_tracking_pageview')
|
->from('tx_tracking_pageview')
|
||||||
->orderBy('crdate desc')
|
->orderBy('crdate', 'desc')
|
||||||
->setMaxResults($this->settings['maxResults']);
|
->setMaxResults($this->settings['maxResults']);
|
||||||
|
|
||||||
if ($constraints !== []) {
|
if ($constraints !== []) {
|
||||||
|
|
Loading…
Reference in a new issue