Skip to content

Commit daeb03b

Browse files
Temp fix for the search challenges
1 parent 93b651c commit daeb03b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/ChallengeService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ async function searchChallenges (currentUser, criteria) {
181181
}
182182

183183
if (!_.isUndefined(mustNotQuery)) {
184-
finalQuery.bool.must_not = { ...mustNotQuery }
184+
// TODO: this is breaking the search functionality because of dirty data
185+
// finalQuery.bool.must_not = { ...mustNotQuery }
185186
}
186187

187188
const esQuery = {

0 commit comments

Comments
 (0)