ordering matters
This commit is contained in:
parent
eac87a82d0
commit
fe7e0a5885
|
@ -41,7 +41,7 @@ module ActiveRecord
|
|||
)
|
||||
|
||||
relation = @klass.unscoped.from(from)
|
||||
relation.bind_values = self.bind_values + self.arel.bind_values + other.bind_values + other.arel.bind_values
|
||||
relation.bind_values = self.arel.bind_values + self.bind_values + other.arel.bind_values + other.bind_values
|
||||
relation
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue