Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ransack/nodes/grouping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def [](key)
end

def []=(key, value)
conditions.reject! { |c| c.key == key.to_s }
conditions.reject! { |c| c.key == key.to_s && c.value == value.value }
Comment thread
scarroll32 marked this conversation as resolved.
Outdated
self.conditions << value
end

Expand Down
Loading