diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-08-14 20:32:21 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-21 20:21:02 +0200 |
commit | c4ecfd9b6ec9a23a94a15cc83bddfd06b36c8502 (patch) | |
tree | 779c1effbcd85ef1abef81662b9207693aa8edb0 /server/sonar-web/src/main/js/api | |
parent | d4fa9a5eec91b3cc36a7ac6b0b1c0ff3359162d9 (diff) | |
download | sonarqube-c4ecfd9b6ec9a23a94a15cc83bddfd06b36c8502.tar.gz sonarqube-c4ecfd9b6ec9a23a94a15cc83bddfd06b36c8502.zip |
SONAR-11124 restrict search for tags/authors to current project (#614)
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/issues.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/api/issues.ts b/server/sonar-web/src/main/js/api/issues.ts index 202190af502..40795766175 100644 --- a/server/sonar-web/src/main/js/api/issues.ts +++ b/server/sonar-web/src/main/js/api/issues.ts @@ -108,9 +108,12 @@ export function getProjects(query: RequestData) { return getFacet(query, 'projectUuids').then(r => extractProjects(r.facet, r.response)); } -export function searchIssueTags( - data: { organization?: string; ps?: number; q?: string } = { ps: 100 } -): Promise<string[]> { +export function searchIssueTags(data: { + organization?: string; + project?: string; + ps?: number; + q?: string; +}): Promise<string[]> { return getJSON('/api/issues/tags', data) .then(r => r.tags) .catch(throwGlobalError); |