From 1393805d8770afb174a11a3cd7d031421323c0b5 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 4 Nov 2021 17:00:02 +0100 Subject: [PATCH] SONAR-15613 Improve settings search results --- .../src/main/js/apps/settings/components/SettingsSearch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.39.5