projectblacklight / blacklight_advanced_search

Advanced search plugin for Blacklight
http://projectblacklight.org
Other
24 stars 25 forks source link

Handle non-string values in build_local_params hash #89

Closed martinlovell closed 4 years ago

martinlovell commented 6 years ago

This fixes an error which occurs when the hash sent to build_local_params has a non-string value that contains a space in its string representation. It changes the way the parameter is wrapped in quotes to use string interpolation to deal with non-string values, such as arrays.

martinlovell commented 4 years ago

Closing PR. Blacklight expects Strings, so it seems appropriate that advanced search does also.