Skip to content

Change base scope? #24

@aaronjensen

Description

@aaronjensen

Thanks for the great gem, it's been really helpful.

We ran into a situation where we wanted to change the base scope, specifically to add a join (we were ordering on a joined table's field). It doesn't appear that there was a way to do that, so we defined our own scopes that wrapped the scopes generated by order_query. What would you think about a PR to enable overriding the base scope instead of hard-coding all?

Thanks!

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