diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-01-25 16:20:19 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-01-28 16:14:24 +0100 |
commit | 2a981676b2f034933c01b7fd7b745a61263690ac (patch) | |
tree | 570cdd150ae178c09fe122a7ee5efdc9f1e2c2a5 /server/sonar-web/src/main/js/api | |
parent | b4bd77bb0d4307e65cd8b6fa13364205e675316f (diff) | |
download | sonarqube-2a981676b2f034933c01b7fd7b745a61263690ac.tar.gz sonarqube-2a981676b2f034933c01b7fd7b745a61263690ac.zip |
SONAR-7227 Convert "My Profile" page to the new "My Account" page
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/issues.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/issues.js b/server/sonar-web/src/main/js/api/issues.js index d9722be01ac..3569d1854bd 100644 --- a/server/sonar-web/src/main/js/api/issues.js +++ b/server/sonar-web/src/main/js/api/issues.js @@ -68,3 +68,8 @@ export function getIssuesCount (query) { return { issues: r.total, debt: r.debtTotal }; }); } + +export function getIssueFilters () { + const url = window.baseUrl + '/api/issue_filters/search'; + return getJSON(url).then(r => r.issueFilters); +} |