-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Prototype] Sort by customer orders & lifetime value don't work #265
Comments
@swrobel Thanks for pointing this out!
|
@Graysonwright For Might be nice to offer the option to pass in a block to handle custom sorting logic like Enumerable's sort or the option to pass in a hash with options like in ActiveRecord's order. But I don't think either of these are as important as getting some sane default sorting behavior. |
With #999, the default sorting became:
I'm having a think around how we could provide custom, per-attribute sortings, but I think that falls outside the scope of this issue, so I'm closing. |
https://administrate-prototype.herokuapp.com/admin/customers?direction=asc&order=orders
https://administrate-prototype.herokuapp.com/admin/customers?direction=asc&order=lifetime_value
The text was updated successfully, but these errors were encountered: