You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
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)"
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
Created by Shane Hanna - 2009-05-30 07:52:40 UTC
Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/871
The text was updated successfully, but these errors were encountered: