[TYPO3-irre] Sorting in a selector field
MOC Systems // Henrik Rasmussen
henrik at mocsystems.com
Sat Nov 1 08:23:12 CET 2008
Found the problem.
You have to make sure, that there is a sortby on the same field as the
record selector, on the A_rel_B TCA.
Best regards
Henrik
MOC Systems // Henrik Rasmussen skrev:
> Hello,
>
> I have the following setup:
>
> table A <--- A_rel_B ---> table B
>
>
> Table A_rel_B has some attributes.
> Table B has the normal TYPO3 "sorting" field.
>
> In the TCA for table A, I have created an inline relation to table B
> using the A_rel_B. This works excelent!
>
> I have then created a selectorbox and set the foreign_unique.
>
> My problem is, that the list og table B items in the selectorbox (when
> editing table A) is sorted by uid(?). I want it to sort to sorting from
> table B. Is that possible? The "foreign_sortby" field is used to sort
> the relations after they are created right?
>
> Hope someone can help - and btw. IRRE is so cool. First time I have used
> it, and I am already loving it :)
>
> Best regard
>
> MOC Systems
> Henrik Rasmussen
More information about the TYPO3-project-irre
mailing list