Skip to content

Commit 296980c

Browse files
committed
Fix #5570
1 parent fe5d80c commit 296980c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/shared/services/contentful.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,7 @@ class Service {
340340
}
341341
if (track) query['fields.trackCategory'] = track;
342342
if (!_.isEmpty(tags)) {
343-
if (tags.length === 1) {
344-
query['fields.tags[match]'] = tags.join(',');
345-
} else {
346-
query.query = tags.join(' ');
347-
}
343+
query['fields.tags[all]'] = tags.join(',');
348344
}
349345
if (startDate) query['fields.creationDate[gte]'] = startDate;
350346
if (endDate) query['fields.creationDate[lte]'] = endDate;

0 commit comments

Comments
 (0)