Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prioritize matches search by terms #890 #908

Merged

Conversation

RafaFP
Copy link
Contributor

@RafaFP RafaFP commented Nov 7, 2016

The search in manage/users now orders by ammount of matches before name.
Added spec to test that the manager will get the users ordered by amount of search matches.

Now if there is no search terms users are ordered by name.
If there are search terms they are ordered by amount of matches and users with the same amount of matches are then ordered by name.

Resolves #890

@daronco daronco merged commit e0938ef into mconf:master Dec 1, 2016
daronco added a commit that referenced this pull request Dec 1, 2016
Only code formatting, no functional changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants