   emptySelector: ".empty"
   existsSelector: ".exists"
   emptyToggleClass: "hide"
+  filter: null
+  filterFunc: (model, filters) ->
+    if filters
+      for name, value of filters
+        if model.get(name) != value
+          return false
+    return true
 
   initialize: (options) ->
     @views = {}

    @listenTo @collection, "remove", @removed

    @listenTo @, "render:post", @addAll

  getItemView: (model) ->
    return new @itemViewClass

    return @listEl

  added: (model) ->
    if @filterFunc model, @filters
      view = @getItemView model
      @views[model.cid] = view
      @getListElement().append view.render().el
      @showEmpty()

  removed: (model) ->
    view = @views[model.cid]
