Unfortunately when using postgres the default order is case sensitive such that all Capitalized values come before all lowercase values. This seems counter intuitive and certainly not desired in my project. As far as I can tell there is currently no support for case insensitive ordering with searchlogic. I was able to solve this by adding two new named_scopes in Searchlogic::NamedScopes::Ordering.create_ordering_conditions like so:
Search logic rocks, and I know it's bad practice to be hacking plugins so I'm hoping you will include this in your next release. Let me know what you think!
Unfortunately when using postgres the default order is case sensitive such that all Capitalized values come before all lowercase values. This seems counter intuitive and certainly not desired in my project. As far as I can tell there is currently no support for case insensitive ordering with searchlogic. I was able to solve this by adding two new named_scopes in Searchlogic::NamedScopes::Ordering.create_ordering_conditions like so:
Search logic rocks, and I know it's bad practice to be hacking plugins so I'm hoping you will include this in your next release. Let me know what you think!