From: Jeremy Davis Date: Thu, 4 Nov 2021 16:00:02 +0000 (+0100) Subject: SONAR-15613 Improve settings search results X-Git-Tag: 9.2.0.49834~75 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1393805d8770afb174a11a3cd7d031421323c0b5;p=sonarqube.git SONAR-15613 Improve settings search results --- diff --git a/server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx b/server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx index 951493b3b06..40609c6b17a 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx @@ -89,7 +89,7 @@ export class SettingsSearch extends React.Component { .search( cleanQuery .split(/\s+/) - .map(s => `${s}~1 *${s}*`) + .map(s => `${s} *${s}*`) .join(' ') ) .map(match => this.definitionsByKey[match.ref]);