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

Term Aggregation - Custom order #113

Open
annelhote opened this issue Dec 15, 2017 · 0 comments
Open

Term Aggregation - Custom order #113

annelhote opened this issue Dec 15, 2017 · 0 comments

Comments

@annelhote
Copy link

Hello,
Is there a way to create a custom function to order the buckets in my aggregation ?
Right now, my page has a div like that :
eui-aggregation="ejs.TermsAggregation('sites').field('sites').size(sites.size)"

I would like to be able to write a JS function to re-order my buckets.

Any help appreciated ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant