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