     return
 
 
-  getPaginationInfo: ->
+  getPaginationInfo : ->
     return {
-      firstPage: 0
-      lastPage: @_lastPageIndex()
-      currentPage: @state.currentPage
-      pageSize: @state.pageSize
+      firstPage : 0
+      lastPage : @_lastPageIndex()
+      currentPage : @state.currentPage
+      pageSize : @state.pageSize
     }
 
 
-  getPreviousPage: ->
+  getPreviousPage : ->
     @getPage(@state.currentPage - 1)
     return
 
 
-  getNextPage: ->
+  getNextPage : ->
     @getPage(@state.currentPage + 1)
     return
 
 
-  getFirstPage: ->
+  getFirstPage : ->
     @getPage(0)
     return
 
 
-  getLastPage: ->
+  getLastPage : ->
     @getPage(@_lastPageIndex())
     return
 
 
-  getPage: (pageIndex) ->
+  getPage : (pageIndex) ->
     if 0 <= pageIndex < Math.ceil(@currentModels.length / @state.pageSize)
       @state.currentPage = pageIndex
       @_reset()
     return
 
-  toJSON: ->
+  toJSON : ->
     @models.map((model) -> model.toJSON())
 
 
+  findWhere : ->
+
+    return @fullCollection.findWhere.apply(@fullCollection, arguments)
+
+
 module.exports = PaginationCollection

    return


  setFilter: (fields, query) ->

    if query == '' or not _.isString(query)
      @state.filterQuery = ""


    @currentModels = @fullCollection.models.slice()
    @state = _.defaults(_.clone(@state) ? {},
      pageSize : 10
      currentPage : 0
      sorting : null
      filter : null
      filterQuery : ""
    )

    @length = Math.min(@state.pageSize, @fullCollection.length)
