Open emolayi opened 5 years ago
When merging in the sort instructions, the default scope on a model will override conflicting filters applied to the passed in set: https://github.com/fractaledmind/activeset/blob/master/lib/active_set/sorting/active_record_strategy.rb#L15
Moved to new monorepo -> https://github.com/fractaledmind/actionset/issues/25
@emolayi or @riyengar8: Can you write a spec to capture this behavior?
When merging in the sort instructions, the default scope on a model will override conflicting filters applied to the passed in set: https://github.com/fractaledmind/activeset/blob/master/lib/active_set/sorting/active_record_strategy.rb#L15