Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow ransack to treat nulls as always first or last #1226

Conversation

mollerhoj
Copy link
Contributor

Current sort options are strangely determined by ASC, DESC order. This fix allows to circumvent that, without breaking backwards compatibility.

@scarroll32
Copy link
Member

Thank you for your contribution @mollerhoj

@scarroll32 scarroll32 merged commit 00d3c25 into activerecord-hackery:master Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants