diff --git a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 index 07e0097b7c2..356a2b688ec 100644 --- a/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 +++ b/app/assets/javascripts/discourse/components/search-advanced-options.js.es6 @@ -234,7 +234,7 @@ export default Em.Component.extend({ const contain_all_tags = this.get('searchedTerms.special.all_tags'); if (match.length !== 0) { - const join_char = contain_all_tags ? ',' : '|'; + const join_char = contain_all_tags ? '+' : ','; const existingInput = _.isArray(tags) ? tags.join(join_char) : tags; const userInput = match[0].replace(REGEXP_TAGS_REPLACE, ''); @@ -376,7 +376,7 @@ export default Em.Component.extend({ const contain_all_tags = this.get('searchedTerms.special.all_tags'); if (tagFilter && tagFilter.length !== 0) { - const join_char = contain_all_tags ? ',' : '|'; + const join_char = contain_all_tags ? '+' : ','; const tags = tagFilter.join(join_char); if (match.length !== 0) { diff --git a/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs b/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs index b83baf1cc4c..e3ac643ec64 100644 --- a/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs +++ b/app/assets/javascripts/discourse/templates/components/search-advanced-options.hbs @@ -49,7 +49,7 @@ {{/if}} -