{"comment":{"created_at":"2011-10-17T02:10:55Z","body":"Excellent, thanks for this Wallace.","updated_at":"2011-10-17T02:10:55Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/comments/2424324","id":2424324,"user":{"gravatar_id":"8c37813d0d533bedba6cc7bb8b77eea9","avatar_url":"https://secure.gravatar.com/avatar/8c37813d0d533bedba6cc7bb8b77eea9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/micapam","id":165087,"login":"micapam"}},"action":"created","issue":{"number":119,"created_at":"2011-05-29T05:24:11Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've looked through the docs and elsewhere but can't find the solution to something that is probably a few words of code.\r\n\r\nGiven something like:\r\nActiveAdmin.register User do\r\n  index do\r\n    column \"Title\" do |user|\r\n      user.submission.title\r\n    end\r\n  end\r\nend\r\n\r\nis it at all possible to throw in a \":sortable => <something>\" that will sort by the submission.title?\r\n\r\nCheers","comments":9,"title":"Sorting by a belongs_to association","updated_at":"2011-10-17T02:10:55Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/119","id":969841,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"d6c32117da4f4eb98110412e5b29e5b6","avatar_url":"https://secure.gravatar.com/avatar/d6c32117da4f4eb98110412e5b29e5b6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mmmdreg","id":510042,"login":"mmmdreg"},"html_url":"https://github.com/gregbell/active_admin/issues/119","labels":[{"name":"Feature","url":"https://api.github.com/repos/gregbell/active_admin/labels/Feature","color":"02e10c"}],"state":"open"},"legacy":{"issue_id":969841,"comment_id":2424324}}