Skip to content
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

Clicking a sortable column on a nested resource redirects to resource #122

Closed
knoopx opened this issue May 29, 2011 · 1 comment
Closed

Comments

@knoopx
Copy link
Contributor

knoopx commented May 29, 2011

ActiveAdmin.register Artist do
    belongs_to :genre, :optional => true

    index do
        column :name, :sortable => :name
    end
end

If I visit /genres/1/artists and click on the Name column you get redirected to /artists?order=name_asc

@gregbell
Copy link
Contributor

gregbell commented Jun 9, 2011

Fixed on master.

@gregbell gregbell closed this as completed Jun 9, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants