Skip to content

Commit

Permalink
fix explorer indexer query
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 8, 2016
1 parent b486b69 commit 1a68660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/explorer/src/main/ExplorerIndexer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private final class ExplorerIndexer(
Query.noProvisional ++
Query.bothRatingsGreaterThan(1501)
import reactivemongo.api._
gameColl.find($empty)
gameColl.find(query)
.sort(Query.sortChronological)
.cursor[Game](ReadPreference.secondary)
.enumerate(maxGames, stopOnError = true) &>
Expand Down

0 comments on commit 1a68660

Please sign in to comment.