Class: Magentwo::Filter::From
Instance Attribute Summary
Attributes inherited from Compare
Instance Method Summary collapse
Methods inherited from Compare
Constructor Details
This class inherits a constructor from Magentwo::Filter::Compare
Instance Method Details
#to_query(idx) ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/filter.rb', line 101 def to_query idx value = case self.value when Time then self.value.utc else self.value end super idx, value:value end |