aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/filter.html.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/filter.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/filter.html.erb
index b3823af73ed..c827262043f 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/filter.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/filter.html.erb
@@ -1 +1,6 @@
-<%= render :partial => 'filters/widget', :locals => {:filter_id => widget_properties['filter']} -%> \ No newline at end of file
+<%
+ @filter=::Filter.find(widget_properties['filter'])
+ @filter_context=Filters.execute(@filter, self, params)
+%>
+
+<%= render :partial => "filters/#{@filter.default_view}", :locals => {:edit_mode => false} %>