diff --git a/app/models/report/result.rb b/app/models/report/result.rb index b41b72b4ac..81e59ba9b2 100644 --- a/app/models/report/result.rb +++ b/app/models/report/result.rb @@ -41,11 +41,11 @@ module Report::Result fields.inject({}) { |hash, key| hash.merge key => entry.fields[key] } end # map group back to array, all fields with same key get grouped into one list - data.keys.map { |f| Report::Result.new data[f], f, type, important_fields } + data.keys.map { |f| engine::Result.new data[f], f, type, important_fields } end end # create a single result from that list - Report::Result.new list, {}, type, important_fields + engine::Result.new list, {}, type, important_fields end def inspect