4 class ThroughFilterList < FilterList
9 @through = @list_manifest.through
10 @filter_table_name = ::Manifest.manifest.models[@filter_item_name].classify.table_name
14 {@through => {@filter_item_name => {}} }
17 def where_condition filter_item_id
18 w = self.base_where_condition
19 w += ' and ' unless w.blank?
20 [w + @filter_table_name + '.id' + ' = ?', filter_item_id]