app/models/refine/inline/criterion.rb in refine-rails-2.9.3 vs app/models/refine/inline/criterion.rb in refine-rails-2.9.4
- old
+ new
@@ -91,11 +91,10 @@
def to_blueprint_node
result = attributes.slice(:condition_id, :input_attributes)
result[:input] = result.delete(:input_attributes)
if input_attrs = result[:input]
- input_attrs[:count_refinement] = input_attrs.delete(:count_refinement_attributes)
- input_attrs[:date_refinement] = input_attrs.delete(:date_refinement_attributes)
+ result[:input] = input_attrs
end
result
end
def human_readable_value