[TYPO3-irre] Sorting in a selector field
christian oettinger
christian.oettinger at gmx.de
Sat May 2 22:56:38 CEST 2009
Could you give an example, I am a little lost with the language - record
selector a.s.o.
(I'd like to do a similar thing: sort by a tinytext-field).
Thanks a lot!
oe (christian)
> 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