]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2030 fix dashboard link from filters
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 1 Jun 2012 15:59:21 +0000 (17:59 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 1 Jun 2012 16:00:26 +0000 (18:00 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb

index f15ce9380d4ad565558f6cab9033211e30b790fd..6293514a26b6a4c41b1b454566973b371ba75f5f 100644 (file)
                                <%= trend_icon(measure, :empty => true) -%>
                        <% end %>
                <% end %>
-        <% elsif column.on_name? %><%= qualifier_icon(root_snapshot) %> <%= link_to_resource(root_snapshot.project, h(root_snapshot.project.name(true)), {:dashboard => true, :title => root_snapshot.project.key}) %>
+        <% elsif column.on_name? %><%= qualifier_icon(root_snapshot) %> <%= link_to_resource(root_snapshot.project, h(root_snapshot.project.name(true)), {:filter => true, :title => root_snapshot.project.key, :period => @filter_context.period_index}) %>
         <% elsif column.on_date? %><%= human_short_date(root_snapshot.created_at) %>
         <% end %>
       </td>