diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-05-08 10:06:29 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-05-08 10:06:29 +0200 |
commit | 87d60ccc748d84f55f7c102b6ec6d489215eef8f (patch) | |
tree | 0482555562ff6c4a3b7e3be098fd2f525291692b | |
parent | 6074390ad98bfe1eb95bec0f73997cb76fed8451 (diff) | |
download | sonarqube-87d60ccc748d84f55f7c102b6ec6d489215eef8f.tar.gz sonarqube-87d60ccc748d84f55f7c102b6ec6d489215eef8f.zip |
pass organization when searching tags on rule page
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/facets/tag-facet.js | 8 |
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, |