diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-01-07 14:21:05 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-01-07 14:54:23 +0100 |
commit | 1f22da3d3bb2989657aab80d9b42d92a75f25192 (patch) | |
tree | c6b6010b40ff1dbb9f336953b0f3e73974b75541 /server/sonar-web | |
parent | 243223597d5ef07e84afd718b9f5c3f44c3584e6 (diff) | |
download | sonarqube-1f22da3d3bb2989657aab80d9b42d92a75f25192.tar.gz sonarqube-1f22da3d3bb2989657aab80d9b42d92a75f25192.zip |
Update issues widget in order to point to the issues page
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
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 64dc71cabc8..d97b4041c99 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,6 @@ if search_options['filter'] results = Internal.issues.execute(search_options['filter'].to_i, search_options) else - search_options['sort'] = 'FILE_LINE' - search_options['asc'] = 'false' results = Internal.issues.execute(search_options) end issues = results.issues() @@ -54,7 +52,7 @@ <tr class="<%= cycle 'even', 'odd', :name => ('issues-widget-list-' + widget_id) -%>"> <td><i class="icon-severity-<%= issue.severity.downcase -%>"></i></td> <td> - <a class="rule-modal" href="#" onclick="return openModalWindow('<%= url_for :controller => 'issue', :action => 'show', :id => issue.key, :modal => true -%>', {'width': 800})"> + <a class="js-issue-link" href="<%= url_for_issues(search_options.merge({:issues => issue.key}).except('pageSize', 'pageIndex', 'table_limit', 'widget_id')) -%>"> <%= h truncate(issue.message, :length => 100) -%></a> <% if last_comment && last_comment.userLogin() %> <div class="comment-excerpt"> |