[TYPO3-english] extbase findAll() default_sortby

Muriel le Pair typo3 at strangefruit.nl
Thu Aug 1 12:16:59 CEST 2013


Op 01-08-13 12:03, Henjo Hoeksma | Stylence schreef:
> what about:
>
> protected $defaultOrderings = array(
>           'sorting' => Tx_Extbase_Persistence_QueryInterface::ORDER_ASCENDING
> );

I don't want to change the order but field that is used to order by.

I want it to use the sorting column:

SELECT * from table ORDER BY sorting.

currently it looks like the ordering by is something like this:

SELECT * from table ORDER BY uid.

--
kind regards,

Muriel le Pair



More information about the TYPO3-english mailing list