[TYPO3-mvc] ordering from TCA
Felix Oertel
mehl at foertel.com
Wed May 19 11:59:26 CEST 2010
hey ho,
Am 19.05.10 10:58, schrieb Sebastian Kurfürst:
> There, the conclusion was that it's not easily implementable, as one can
> use full SQL for default_sortby.
yep, that's right for default_sortby. we should check if it would make
sense to introduce something new to TYPO3 core here, because the actual
solution really sucks ;-) propably it would be good to talk to Xavier
how this is solved for DBAL ...
but sortby is not respected as well, even it is just a fieldname. this
should be quiet easy to implement.
regards, foertel
PS: funny "foreign_sortby" for inline-relation is respected but "sortby"
for parent records is not *g
PPS: i don't need default_sortby anymore cause mySql is too dump to
order utf-8 umlauts right anyway ... I habe to use
Tx_MyExt_Utility_Array::sortByProperty($rows, 'name'); which does a
usort with strnatcasecmp.
More information about the TYPO3-project-typo3v4mvc
mailing list