From 1a68660fd662c7e79e4f6507888bb4db48092f26 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Fri, 5 Aug 2016 12:24:18 +0200 Subject: [PATCH] fix explorer indexer query --- modules/explorer/src/main/ExplorerIndexer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/explorer/src/main/ExplorerIndexer.scala b/modules/explorer/src/main/ExplorerIndexer.scala index 9d899c0f33fb..7695037d31ac 100644 --- a/modules/explorer/src/main/ExplorerIndexer.scala +++ b/modules/explorer/src/main/ExplorerIndexer.scala @@ -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) &>