开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜