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

Lines changed: 0 additions & 7 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy