diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-08-12 15:47:48 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-08-12 15:47:48 +0200 |
commit | cb0a37fb684e478197fe31be91171d091fe88c0c (patch) | |
tree | 1280867775c7fa70d6634a46ea20ab0351bae7dd /server/sonar-web/src/main/js/apps/coding-rules | |
parent | 75dbc1e0c51ef9f59202ebcf2a8e88025dbfc219 (diff) | |
download | sonarqube-cb0a37fb684e478197fe31be91171d091fe88c0c.tar.gz sonarqube-cb0a37fb684e478197fe31be91171d091fe88c0c.zip |
fix display of rule issues
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js index 182e3b988d6..8480815a269 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js @@ -48,7 +48,7 @@ define([ var projectsFacet = _.findWhere(r.facets, { property: 'projectUuids' }), projects = projectsFacet != null ? projectsFacet.values : []; projects = projects.map(function (project) { - var projectBase = _.findWhere(r.projects, { uuid: project.val }); + var projectBase = _.findWhere(r.components, { uuid: project.val }); return _.extend(project, { name: projectBase != null ? projectBase.longName : '' }); |