aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2021-11-04 17:00:02 +0100
committersonartech <sonartech@sonarsource.com>2021-11-04 20:03:25 +0000
commit1393805d8770afb174a11a3cd7d031421323c0b5 (patch)
tree260067d4b40a04fca986110fb1782b9f4e15b00e /server/sonar-web
parentc8fdeae6c3ce695ca3e3ce448cbd917124a27646 (diff)
downloadsonarqube-1393805d8770afb174a11a3cd7d031421323c0b5.tar.gz
sonarqube-1393805d8770afb174a11a3cd7d031421323c0b5.zip
SONAR-15613 Improve settings search results
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx2
1 files changed, 1 insertions, 1 deletions
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<Props, State> {
.search(
cleanQuery
.split(/\s+/)
- .map(s => `${s}~1 *${s}*`)
+ .map(s => `${s} *${s}*`)
.join(' ')
)
.map(match => this.definitionsByKey[match.ref]);