[TYPO3-mvc] sorting of ObjectStorage/LazyObjectStorage

Thomas Mammitzsch thomas at visualworx.de
Thu Feb 17 16:43:53 CET 2011


hi list,

is there a way to sort objects in a LazyObjectStorage? I thought that 
the TCA Setting 'foreign_default_sortby' of my inline record would be 
taken in account, but it isn't.
The feature described in 
http://forge.typo3.org/projects/typo3v4-mvc/wiki/Default_Orderings_and_Query_Settings_in_Repository 
works nice, but its not working for implicit loaded ObjectStorage, and 
even not, when there is no repository (although i would be willing to 
create one if it worked). Maybe there could be some phpdoc annotation 
for the field in the model class to set the sorting?

regards, Thomas


More information about the TYPO3-project-typo3v4mvc mailing list