aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js b/server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js
index c6260da607c..33868e82a0c 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js
@@ -28,9 +28,11 @@ export default CustomValuesFacet.extend({
return {
quietMillis: 300,
url: this.getUrl(),
- data(term) {
- return { q: term, ps: 10000 };
- },
+ data: term => ({
+ organization: this.options.app.organization,
+ q: term,
+ ps: 10000
+ }),
results(data) {
return {
more: false,