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

Only show crate once, even if search is like several category #524 #558

Merged
merged 1 commit into from Feb 21, 2017

Conversation

Projects
None yet
2 participants
@Eh2406
Copy link
Contributor

Eh2406 commented Feb 18, 2017

This is a fix for #524.

@Eh2406

This comment has been minimized.

Copy link
Contributor Author

Eh2406 commented Feb 18, 2017

I don't know what || '::%' syntax means so I left it.

@carols10cents

This comment has been minimized.

Copy link
Member

carols10cents commented Feb 21, 2017

Looks great!!!

The || '::%' syntax means:

  • || is the concat operator in postgres, confusingly
  • :: is the separator we're using to separate categories and subcategories
  • % is the wildcard operator in postgres

so this finds all subcategories beneath a category. So leaving it there is the correct thing to do!

Thank you!!! 🎏

@carols10cents carols10cents merged commit 68149f9 into rust-lang:master Feb 21, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@Eh2406 Eh2406 deleted the Eh2406:fix524 branch Feb 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.