#101 ✓moved_to_github
Georg Ledermann

Inconsistent result of "order" method

Reported by Georg Ledermann | July 17th, 2009 @ 10:23 AM

Please have a look at this:

>> Document.search("descend_by_datetime" => true).order
=> nil

>> Document.search(:order => "descend_by_datetime").order
=> "descend_by_datetime"

>> Document.search(:order => "datetime DESC").order
=> "datetime DESC"

IMHO the "order" method should always return the same result.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket

Attachments

Tags

Pages