Skip to content

Sorting can cause model's default scope to override #25

@fractaledmind

Description

@fractaledmind

This is pulling forward an issue from the ActiveSet repo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions