Skip to content

Commit fa97d66

Browse files
committed
Remove fix for dev index that was different than prod
1 parent d24eb05 commit fa97d66

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/services/ChallengeService.js

-11
Original file line numberDiff line numberDiff line change
@@ -458,17 +458,6 @@ async function searchChallenges(currentUser, criteria) {
458458

459459
let sortByProp = criteria.sortBy ? criteria.sortBy : "created";
460460

461-
// Add '.keyword' to the end of the sort by prop for certain fields
462-
// (TOP-2364)
463-
if(sortByProp == "updatedBy" ||
464-
sortByProp == "createdBy" ||
465-
sortByProp == "name" ||
466-
sortByProp == "type" ||
467-
sortByProp == "status") {
468-
469-
sortByProp = sortByProp + ".keyword";
470-
}
471-
472461
const sortOrderProp = criteria.sortOrder ? criteria.sortOrder : "desc";
473462

474463
const mustQuery = [];

0 commit comments

Comments
 (0)