[TYPO3-mvc] *Store* sorting a of relation

Lorenz Ulrich lorenz-typo3 at visol.ch
Tue Feb 21 10:26:56 CET 2012

Hi everyone

I just wanted to ask if anyone figured out how the sorting of a relation 
could be stored in the mm table.

 From the non-Extbase POV:
When I e.g. attach DAM documents to a tt_news entry, I can sort these 
documents and the sorting is stored in tx_dam_mm_ref in "sorting_foreign".

Now I would like to do the same in an Extbase extension: Add "documents" 
to a "group of documents" and store the sorting order in the mm table. 
But I can't find any (proper) way to pass the sorting value to Extbase. 
And it's impossible to just set the sorting manually after adding the 
relations because they (all of them) are deleted and newly written each 
time one relation is added or deleted.

Is this such a weird scenario or is it known to be a missing feature?

Thanks for any input on this topic and best regards,


More information about the TYPO3-project-typo3v4mvc mailing list