mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Revert "Stringify properties before filtering (#1929)"
This reverts commit f5d6a36574.
This commit is contained in:
@@ -979,6 +979,7 @@ module Liquid
|
||||
|
||||
def filter_array(input, property, target_value, default_value = [], &block)
|
||||
ary = InputIterator.new(input, context)
|
||||
|
||||
return default_value if ary.empty?
|
||||
|
||||
property = Utils.to_s(property)
|
||||
|
||||
Reference in New Issue
Block a user