We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ransack_alias
1 parent 87c8936 commit 5cc98a5Copy full SHA for 5cc98a5
lib/ransack/nodes/grouping.rb
@@ -53,7 +53,7 @@ def [](key)
53
end
54
55
def []=(key, value)
56
- conditions.reject! { |c| c.key == key.to_s }
+ conditions.reject! { |c| c.key == key.to_s && c.value == value.value }
57
self.conditions << value
58
59
0 commit comments