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
Currently, if you customize the primary key in an Active Record object, the sorting will raise an exception.
Instead of using a global #default_sort_order, it should get one from the model
# lib/active_admin/resource.rb def default_options { :namespace => ActiveAdmin.application.default_namespace, :sort_order => ActiveAdmin.application.default_sort_order } end
The text was updated successfully, but these errors were encountered:
4d27164
Default sort order now uses the resource's primary_key if available.
79da64b
Deprecated the default_sort_order setting. Closes activeadmin#235
gregbell
No branches or pull requests
Currently, if you customize the primary key in an Active Record object, the sorting will raise an exception.
Instead of using a global #default_sort_order, it should get one from the model
The text was updated successfully, but these errors were encountered: