aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-10-30 15:35:44 +0100
committerStas Vilchik <vilchiks@gmail.com>2014-10-30 15:49:54 +0100
commite7fc710e6467ca4e1dfc7a5cbd6ae2231270ca01 (patch)
treeca260438d32fe09c36cef7b803e8b048dde5b9a3 /server/sonar-web
parente0aeda32ac24fa020884f93fc123f7e795599b2d (diff)
downloadsonarqube-e7fc710e6467ca4e1dfc7a5cbd6ae2231270ca01.tar.gz
sonarqube-e7fc710e6467ca4e1dfc7a5cbd6ae2231270ca01.zip
SONAR-5718 Update issues widget in order to support project UUID
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/hbs/issues/issues-workspace-header.hbs2
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/hbs/issues/issues-workspace-header.hbs b/server/sonar-web/src/main/hbs/issues/issues-workspace-header.hbs
index e2c874348eb..e06ea8aa755 100644
--- a/server/sonar-web/src/main/hbs/issues/issues-workspace-header.hbs
+++ b/server/sonar-web/src/main/hbs/issues/issues-workspace-header.hbs
@@ -15,7 +15,7 @@
{{#if state.total}}
<span class="issues-header-item issues-header-nav">
<a class="js-issues-prev icon-prev"></a>
- <span class="current">{{sum state.selectedIndex 1}} / {{state.total}}</span>
+ <span class="current">{{sum state.selectedIndex 1}} / <span id="issues-total">{{state.total}}</span></span>
<a class="js-issues-next icon-next"></a>
</span>
{{/if}}
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
index b222358ab4a..64dc71cabc8 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb
@@ -9,8 +9,8 @@
if search_options['filter']
results = Internal.issues.execute(search_options['filter'].to_i, search_options)
else
- search_options['sort'] = 'UPDATE_DATE'
- search_options['asc'] = 'FALSE'
+ search_options['sort'] = 'FILE_LINE'
+ search_options['asc'] = 'false'
results = Internal.issues.execute(search_options)
end
issues = results.issues()