sort TextColumn with multiple value
I've a TextColumn with a relationship having multiple values (Screenshot). They are not using the order field that I've set in my db (which is normal) - is there a way to sort them ? What I've right now:
TextColumn::make('wordTranslations.value')->searchable()->listWithLineBreaks()->limitList(3)
->expandableLimitedList(),
Thanks
2 Replies
Solution
You could order them via your relationship.
ohoh ! thanks I didn't thought about that