Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Use reorder instead of order to override default_scope order. #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

webervin
Copy link

Only other way to override default scope order AND keep power of meta_search ordering would be:
ModelClass.reorder(true).search(.....) which seems a bit awful to me, and may explode for some databases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant