-
Notifications
You must be signed in to change notification settings - Fork 62
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
Easiest way to sort #14
Comments
Uses angular so you could easily build a table then use orderBy. See https://docs.angularjs.org/api/ng/filter/orderBy |
Any chance you could suggest a toy example that ties to elastic? Having issues trying to figure out where to put the ordering? Doesn't seem to be working in the section i'd think it belongs/
Where amount is the ordering variable |
@abresler Maybe you have to do ordering inside elasticsearch query? I think it most reasonable. |
@dasar that's possible too, but I think sorting from UI should also be possible in the case it's being used by non-technical users. |
Bit late to the party - but using orderBy works, except the pagination breaks it. Say you're showing 10 results per page and have 100 results in total that match, it'll show like every 10th value. Any suggestions? |
trying to figure out how to modify the base code to allow for sorting of a selected numeric field in descending order. Any advice on how to best achieve that?
The text was updated successfully, but these errors were encountered: