Permalink
Browse files

Merge pull request #47 from rajish/master

Fixed small logical error
  • Loading branch information...
rktoomey committed Aug 3, 2012
2 parents 1ac5819 + 8ce02ba commit e1e45203f9029cf62db4e7edc3492ef397c4ec2c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 e1e4520

Please sign in to comment.