[TYPO3-mvc] MM relation / foreign_table_where gets ignored
Franz Koch
typo3.RemoveForMessage at elements-net.de
Thu Mar 24 11:33:40 CET 2011
Hey,
> hmm, I am not sure what Franz meant then when he said this:
>
> 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'
> ),
> ),
from what I remembered you can adjust the default sorting of properties
by using foreign_table_where - but I can be wrong. Need to have a look
again.
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list