Browse Source

removed quotes from the bestbet query

2.x-ebsco
ppound 5 years ago
parent
commit
bc7cdc8d70
  1. 2
      targets/solr_site/roblib_search_solr_site.module

2
targets/solr_site/roblib_search_solr_site.module

@ -267,7 +267,7 @@ function roblib_search_solr_site_results($query) {
*/
function roblib_search_solr_site_bestbet($query) {
$query = str_replace('"', '', $query);
$json = roblib_search_solr_site_get_results("sort_label:\"$query\"", 'bundle:bestbet');
$json = roblib_search_solr_site_get_results("sort_label:$query", 'bundle:bestbet');
$json = roblib_search_solr_site_add_url($json);
print $json;
exit();

Loading…
Cancel
Save