Skip to content

Commit d92b266

Browse files
Temp fix
1 parent 4393940 commit d92b266

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/services/ResourceService.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ async function getResources (currentUser, challengeId, roleId, page, perPage, so
116116
bool: {
117117
must: mustQuery
118118
}
119-
},
120-
sort: [{ [sortBy]: { 'order': sortOrder } }]
119+
}
120+
// TODO: We need to reindex the data with updated mappings for sorting to work
121+
// sort: [{ [sortBy]: { 'order': sortOrder } }]
121122
}
122123
}
123124
const esClient = await helper.getESClient()

0 commit comments

Comments
 (0)