Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vocabularies: values order #1046

Open
kpsherva opened this issue Feb 23, 2021 · 0 comments
Open

vocabularies: values order #1046

kpsherva opened this issue Feb 23, 2021 · 0 comments
Labels

Comments

@kpsherva
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The users need to order the vocabularies values, especially if one of them is more commonly used in the create/edit forms

Describe the solution you'd like

introduce an order field in the vocab, and then put there an integer, e.g order: 0, order: 1... then, set CC as order: 0 and have the Elasticsearch query to sort=order and order:asc (the order field might be a better name eventually).

Describe alternatives you've considered

Possible alternative is to create a vocabulary JSON with already ordered values. Sometimes it could behave inconsistently in searches.

@kpsherva kpsherva added the minor label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant