Skip to content

Sort referenced Documents #181

Answered by fgatti675
Andre3424 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Andre,
If you mean sorting in the popup dialog you get when selecting a reference, you can set a default sort, so whenever that view is opened it is sorted by the specified property. It is called initialSort in the entity collection config.
For this use case, since the regions are probably static data, I'd consider simply using a string enumeration.
Or if you need to use a collection, you can enable text search to make it easier to retrieve.
Best,
Francesco

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Andre3424
Comment options

Answer selected by Andre3424
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
Converted from issue

This discussion was converted from issue #167 on December 16, 2021 11:21.