[TYPO3-mvc] extbase mm relation / objectStorage

Franz Koch typo3.RemoveForMessage at elements-net.de
Mon Mar 7 18:18:51 CET 2011


Hey Ingo,

> Thank you for your reply. I am not sure whether I did the sorting
> definition in TCA right,
> but this had no impact on the sorting of the rendered objectStorage:
>
> 'default_sortby' =>  'ORDER BY parent.childProperty ASC' (i this even
> right??)
>
> Maybe you give me another hint??

you have to define the default sorting/ordering for the property itself, 
not in the ctrl-section of the table.

'yourColumnName' => array(
   'config' => array(
     'foreign_table' => 'tx_yourext_domain_model_table',
     'foreign_table_where' => ' ORDER BY 
tx_yourext_domain_model_table.childProperty ASC'
   ),
),


-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list