We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like when I trying to use native angular orderBy filter along with the groupBy filter the first doesn't affect the result:
ng-repeat="(key, value) in collection | orderBy: '-OccurredOnDate' | groupBy: groupBy"
Any thoughts?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi @tavai89 PTAL on issue-26, and let me know if there's any questions. Thanks.
Sorry, something went wrong.
Hi @a8m
Firstly, thank you a lot for your response. I have found the solution for my issue here:
#57
In the jsbin you have posted:
http://jsbin.com/hopowowodu/1/edit?html,js,output
The solution was:
ng-repeat="group in collection | groupBy: groupBy | toArray:true | orderBy: '-$key'"
since I wanted to order the groups, not the items in groups.
Thank you
Performance of toArray:true solution is bad with angular 1.4.8.
Do you have another/better solution in 2017 for me?
No branches or pull requests
Looks like when I trying to use native angular orderBy filter along with the groupBy filter the first doesn't affect the result:
ng-repeat="(key, value) in collection | orderBy: '-OccurredOnDate' | groupBy: groupBy"
Any thoughts?
Thanks in advance
The text was updated successfully, but these errors were encountered: