Skip to content
Browse files

Fixed logical error.

  • Loading branch information...
1 parent 1ac5819 commit 8ce02ba2e54d3ac963bf77ab0b7499a74f4f9982 @rajish rajish committed Aug 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 salat-core/src/main/scala/com/novus/salat/dao/ModelCompanion.scala
View
2 salat-core/src/main/scala/com/novus/salat/dao/ModelCompanion.scala
@@ -151,7 +151,7 @@ trait ModelCompanion[ObjectType <: AnyRef, ID <: Any] extends BaseDAOMethods[Obj
* @return count of documents matching the search criteria
*/
def count(q: DBObject, fieldsThatMustExist: List[String] = Nil, fieldsThatMustNotExist: List[String] = Nil) =
- dao.count(q, fieldsThatMustExist, fieldsThatMustExist)
+ dao.count(q, fieldsThatMustExist, fieldsThatMustNotExist)
/** @param ref object for which to search
* @param keys fields to return

0 comments on commit 8ce02ba

Please sign in to comment.
Something went wrong with that request. Please try again.