
Is Searchable should retain result order.
Reported by Shane Hanna | May 30th, 2009 @ 02:52 AM
As discussed dm-is-searchable should retain the result order from the search adapter since that's what they are good at.
DKubb suggested taking the "results we get from the storage repository and pushing them on to a Hash, where the key is the Resource Key and the value is the Resource (so basically the same structure as the IM), and then return: hash.values_at(*ids_from_search_in_order)"
Cheers.
Shane
Comments and changes to this ticket
-
Dan Kubb (dkubb) July 22nd, 2009 @ 03:37 PM
- State changed from unconfirmed to confirmed
-
Dan Kubb (dkubb) July 22nd, 2009 @ 03:38 PM
- State changed from confirmed to suggestion
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »