rails metasearch sort by nested resource
Can you sort by nested resource with metasearch?
norm开发者_如何转开发ally, item.customer_id
so sort would be <%= sort_link @search, :customer_id %>
but would like to sort by the customer.first_name
<%= sort_link @search, :customer_first_name %>
should work
精彩评论