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

Query : Intercepting default sorting mechanism #735

Closed
shivabhusal opened this issue Nov 8, 2016 · 1 comment
Closed

Query : Intercepting default sorting mechanism #735

shivabhusal opened this issue Nov 8, 2016 · 1 comment

Comments

@shivabhusal
Copy link

Hey there, I have used string field to sort. The field consists of data like 5 AM, 6 PM. This is not working properly because for data like 11 AM and 5 AM, the 11 AM comes first.

Is there a way I can intercept and modify the way it sends query?

thanks

@scarroll32
Copy link
Member

This issue appears more to be a HOW-TO issue rather than a bug in Ransack. We are in the process of cleaning up the Ransack gem and repo. If this issue is still relevant could you please ask it on StackOverflow?

If you think it is an issue with Ransack, please provide a repo with the issue and / or a pull request with failing tests. If you don't know how to do this, indicate it in the issue and we will look into it eventually.

Thank you

https://github.com/activerecord-hackery/ransack/blob/master/CONTRIBUTING.md

#794

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

No branches or pull requests

2 participants