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
I have 2 models: Resume & Skill (many to many relationship)
I have to sort resumes by existence of the relation between some Skills.
Example:
Skill Ids 1,2,3.
Resume that has all 1,2,3 Skills will be on top
Resume that has 1, 2 OR 1, 3 OR 2, 3 Skills will go next
Then Resume that has at least one Skills attached
Then Resumes with no Skills with Ids 1,2,3
How can I achieve that?
The text was updated successfully, but these errors were encountered:
I have 2 models: Resume & Skill (many to many relationship)
I have to sort resumes by existence of the relation between some Skills.
Example:
Skill Ids 1,2,3.
Resume that has all 1,2,3 Skills will be on top
Resume that has 1, 2 OR 1, 3 OR 2, 3 Skills will go next
Then Resume that has at least one Skills attached
Then Resumes with no Skills with Ids 1,2,3
How can I achieve that?
The text was updated successfully, but these errors were encountered: