diff --git a/extensions/tags/js/src/forum/addTagFilter.js b/extensions/tags/js/src/forum/addTagFilter.js index b7492a230..e2aff79b1 100644 --- a/extensions/tags/js/src/forum/addTagFilter.js +++ b/extensions/tags/js/src/forum/addTagFilter.js @@ -91,7 +91,9 @@ export default function() { params.filter.tag = this.params.tags; // TODO: replace this with a more robust system. const q = params.filter.q; - params.filter.q = q ? `${q} tag:${this.params.tags}` : ''; + if (q) { + params.filter.q = `${q} tag:${this.params.tags}`; + } } }); }