modified reporting_helper to return filter-rows which can be used to display select-an-object filter - this is still a stub

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1252 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 15 years ago
parent a6e08acdae
commit e6f73180d6
  1. 5
      app/helpers/reporting_helper.rb

@ -6,7 +6,8 @@ module ReportingHelper
# @param [CostQuery::Filter] the filter we want to render # @param [CostQuery::Filter] the filter we want to render
def html_elements(filter) def html_elements(filter)
[ [
{:name=>'activate_filter'}, {:name => :activate_filter, :filter_name => filter.short_name, :label => l(:field_activity)}, #FIXME: change label not to be activity only
{:name=>'text', :text=>'foo'}] {:name => :operators, :filter_name => filter.short_name, :operators => filter.available_operators},
{:name => :multi_values, :filter_name => filter.short_name, :values => filter.available_values}]
end end
end end
Loading…
Cancel
Save