app/models/refine/inline/criteria/date_refinement.rb in refine-rails-2.9.4 vs app/models/refine/inline/criteria/date_refinement.rb in refine-rails-2.9.5
- old
+ new
@@ -1,14 +1,15 @@
class Refine::Inline::Criteria::DateRefinement
include ActiveModel::Model
- attr_accessor :clause, :date1, :date2, :days
+ attr_accessor :clause, :date1, :date2, :days, :modifier
def attributes
{
clause: clause,
date1: date1,
date2: date2,
- days: days
+ days: days,
+ modifier: modifier
}.compact
end
end