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

Implement a way to retrieve the most frequent values for a field #171

Open
jrdh opened this issue Jan 8, 2025 · 1 comment
Open

Implement a way to retrieve the most frequent values for a field #171

jrdh opened this issue Jan 8, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@jrdh
Copy link
Member

jrdh commented Jan 8, 2025

This could be through vds_multi_autocomplete_value or a new endpoint. If it's through vds_multi_autocomplete_value then it could either be used as a sort when the prefix is empty, or it could be another option to this action (i.e. sort order: alphabetical or frequency).

Whether this is a new action or reuses an existing action probably depends on how vds_multi_autocomplete_value is implemented and whether a sort can be added to it.

This is dependant on the preps changes.

@jrdh jrdh added the enhancement New feature or request label Jan 8, 2025
@alycejenni
Copy link
Member

Is there actually much point in having autocomplete results sorted alphabetically anyway, especially by default? If you're using an autocomplete you presumably want the most relevant results first, which is more likely to be the frequently used values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants