Closed tboyko closed 8 years ago
If I have an object Newspaper with a has_many associated object Article, what is the easiest way to make a table column sortable based on the number of articles the newspaper is associated with?
Newspaper
has_many
Article
Store this value in a column. Or try to use this http://wicegrid.herokuapp.com/custom_ordering
If I have an object
Newspaper
with ahas_many
associated objectArticle
, what is the easiest way to make a table column sortable based on the number of articles the newspaper is associated with?