MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

solr_search_params should accept all valid solr parameters #462

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-275: Blacklight::SolrHelper#solr_search_params will accept extra parameters passed in (say from the controller) and merge them in with other parameters. Right now only a whitelist of keys is merged in. There should be some way to allow for implementers to add other parameters to this whitelist since Solr adds new parameters.

MrDys commented 12 years ago

Original reporter: jronallo

MrDys commented 12 years ago

jronallo: Added a new method which returns an Array of keys which are splatted into an argument list.

Commit: https://github.com/projectblacklight/blacklight/commit/43b24488b7600430577813682ff562f097dacaf1