I have a scenario where I need to pull all the webcontent objects, but give
priority to the ids 1402, 1403, 1427, then populate the remaining
webcontents
In this example I am only pulling webcontents with the link of
1402,1403,1427
@webcontents = WebContent.search '',
:with=>{:web_food_ids=>[1402,1403,1427]}
What I need to do is
+ show all webcontents with 1402,1403,1427
+ show the remaining webcontents which aren't 1402,1403,1427
In the same query.
Any help or guidance on how to create this query?
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/thinking-sphinx/-/vpXCWhP_nGQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.