lib/mongoid/report/scope.rb in mongoid-report-0.1.6 vs lib/mongoid/report/scope.rb in mongoid-report-0.1.7

- old
+ new

@@ -36,9 +36,10 @@ new_query.each do |function_name, values| values.each do |name, value| if value.respond_to?(:call) value = value.call(context) end + new_query[function_name][name] = value end end end end