Skip to content

Fix relevance sorting on search #1371

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

Merged
merged 1 commit into from
Apr 26, 2018

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Apr 26, 2018

To sort by relevence, the backend expects the sort string to either be
not present, or set to the value "relevance". Right now the backend is
either sending the string null or an empty string. Neither of these do
what we want.

Fixes #1370

To sort by relevence, the backend expects the sort string to either be
not present, or set to the value "relevance". Right now the backend is
either sending the string `null` or an empty string. Neither of these do
what we want.

Fixes rust-lang#1370
@ashleygwilliams
Copy link
Member

bors: r+

bors-voyager bot added a commit that referenced this pull request Apr 26, 2018
1371: Fix relevance sorting on search r=ashleygwilliams

To sort by relevence, the backend expects the sort string to either be
not present, or set to the value "relevance". Right now the backend is
either sending the string `null` or an empty string. Neither of these do
what we want.

Fixes #1370
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Apr 26, 2018

Build succeeded

@bors-voyager bors-voyager bot merged commit 6dbb2a6 into rust-lang:master Apr 26, 2018
@sgrif sgrif deleted the sg-fix-search-sorting branch April 26, 2018 23:25
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