aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorPascal Mugnier <pascal.mugnier@sonarsource.com>2018-04-23 15:57:27 +0200
committerSonarTech <sonartech@sonarsource.com>2018-04-26 20:20:53 +0200
commit99087f92a5839fe9f44090674d75576a4d9e6908 (patch)
tree049cd19207a16e902c74ce541fdc0fcffcdd15f7 /server/sonar-web/src
parente5024bac628a177d26cd3f4e2903757ff96b0d1e (diff)
downloadsonarqube-99087f92a5839fe9f44090674d75576a4d9e6908.tar.gz
sonarqube-99087f92a5839fe9f44090674d75576a4d9e6908.zip
Include external rule in rule facet
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/sidebar/RuleFacet.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/RuleFacet.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/RuleFacet.tsx
index 7cd4be14f75..920e2002836 100644
--- a/server/sonar-web/src/main/js/apps/issues/sidebar/RuleFacet.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/sidebar/RuleFacet.tsx
@@ -70,7 +70,8 @@ export default class RuleFacet extends React.PureComponent<Props> {
f: 'name,langName',
languages: languages.length ? languages.join() : undefined,
organization,
- q: query
+ q: query,
+ include_external: true
}).then(response =>
response.rules.map(rule => ({ label: `(${rule.langName}) ${rule.name}`, value: rule.key }))
);