[FLOW3-general] QueryInterface orderBy OneToMany property

Robin Lehrmann role at vkf-renzel.de
Mon Nov 5 16:21:15 CET 2012


On 05.11.2012 15:49, David Sporer wrote:
> Hey Robin,
>
> yep I think you need to order by count of products.
> Try products.count instead of products.
$query->setOrderings(array('products.count' => 
\TYPO3\Flow\Persistence\QueryInterface::ORDER_ASCENDING));
It returns NULL, too.


More information about the FLOW3-general mailing list