Skip to content

Sorting relations #59

Answered by klamparski
fsuter asked this question in Q&A
Jan 17, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @fsuter,

Just to be clear, t3api extension does not change default Extbase/TCA behaviour, so I guess that order is different than expected not only in API response but also in standard FE implementation (e.g. when you fetch records inside plugin from Repository).
Thus, I think that field foreign_sortby might be what you are looking for: https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Inline/Properties/ForeignSortby.html

Please confirm if it resolved your issue.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by fsuter
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fsuter
Comment options

@klamparski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants