aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-25 16:20:19 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-28 16:14:24 +0100
commit2a981676b2f034933c01b7fd7b745a61263690ac (patch)
tree570cdd150ae178c09fe122a7ee5efdc9f1e2c2a5 /server/sonar-web/src/main/js/api
parentb4bd77bb0d4307e65cd8b6fa13364205e675316f (diff)
downloadsonarqube-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.js5
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);
+}