@ -78,6 +78,10 @@ class Report < ActiveRecord::Base
engine.chain_initializer.push block
end
def self.cache_key
@cache_key ||= underscore_name
inherited_attribute :label, :default => :translation_needed
inherited_attribute :properties, :list => true
@ -16,10 +16,6 @@ class Report::Filter
attr_accessor :values
def cache_key
self.class.cache_key + operator.to_s + Array(values).join(',')
@ -16,10 +16,6 @@ class Report::GroupBy
child.filter?
self.class.cache_key + type.to_s[0,1]