Skip to content

Commit 0ae4e1e

Browse files
Fix challenges filter mapToBackend
1 parent ec7e414 commit 0ae4e1e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/utils/challenge/filter.js

-7
Original file line numberDiff line numberDiff line change
@@ -379,15 +379,8 @@ export function combine(...filters) {
379379
* @return {Object}
380380
*/
381381
export function mapToBackend(filter) {
382-
if (filter.or) return {};
383-
384382
const res = {};
385383
if (filter.groups) res.groups = filter.groups;
386-
387-
/* NOTE: Right now the frontend challenge filter by tag works different,
388-
* it looks for matches in the challenge name OR in the techs / platforms. */
389-
// if (filter.tags) res.technologies = filter.tags.join(',');
390-
391384
return res;
392385
}
393386

0 commit comments

Comments
 (0)