[TYPO3-english] extbase findAll() default_sortby

Henjo Hoeksma | Stylence me at henjohoeksma.nl
Thu Aug 1 12:42:56 CEST 2013


Hi Muriel,

I understand. But also ordering by uid is done either ascending or
descending.... I do not see the problem to be honest... but maybe I still
get you wrong ;-)

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Thu, Aug 1, 2013 at 12:16 PM, Muriel le Pair <typo3 at strangefruit.nl>wrote:

> 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
>
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>


More information about the TYPO3-english mailing list