Project

General

Profile

Bug #93795

Updated by Daniel Siepmann over 3 years ago

The PHPDoc of <pre>TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor</pre> _TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor_ contains an example to order by <pre>RAND()</pre>. _RAND()_ . 
 That does not work since Doctrine will add asc as default. 
 This will lead to the following error: 

 <pre> 
 ORDER BY `RAND()` ASC': Unknown column 'RAND()' in 'order clause' 
 </pre>

Back