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

Allow multiple facets to be selected in search #542

Closed
andrew opened this issue Apr 15, 2016 · 1 comment
Closed

Allow multiple facets to be selected in search #542

andrew opened this issue Apr 15, 2016 · 1 comment

Comments

@andrew
Copy link
Contributor

andrew commented Apr 15, 2016

Allow user to filter by Ruby or Rust, same for licenses, keywords and platforms

@BenJam
Copy link
Contributor

BenJam commented May 18, 2017

Been taking a look at this as part of #1366 but stumped. Looks like:

https://github.com/librariesio/libraries.io/blob/search/app/views/search/_term.html.erb#L7 should add term['key'] to an array rather than an individual key and https://github.com/librariesio/libraries.io/blob/search/app/views/search/_term.html.erb#L5 needs to remove term['key'].

I've added a clear method should this be implemented in 839b571

Interestingly if you try to craft a URL for this this the new key is added to the filters but ignored.

@BenJam BenJam self-assigned this May 18, 2017
BenJam pushed a commit that referenced this issue May 31, 2017
@BenJam BenJam removed their assignment Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants