gregbell/active_admin — Issue #1111: Support for skipping table name on sortable
Author: tienle
Created: 2012-03-07 10:42:22+00:00
State: open

We have built a scope that use sub-query and aliased it as a custom column name. Then add a new column with a sortable for that aliased column. The ActiveAdmin raises an error causes it has not found the aliased column in the table.
In the resource_controller/collection.rb:53 #sort_order(), it seems the table name always be prepended.
Can we have an options for skipping that behavior?