]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15613 Improve settings search results
authorJeremy Davis <jeremy.davis@sonarsource.com>
Thu, 4 Nov 2021 16:00:02 +0000 (17:00 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 4 Nov 2021 20:03:25 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/settings/components/SettingsSearch.tsx

index 951493b3b06064871b8fbd1bfa0dfd17a1161aed..40609c6b17a17fde8274d5b8adcd06952dd830cf 100644 (file)
@@ -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]);