diff --git a/targets/solr_site/js/solr_site_results.js b/targets/solr_site/js/solr_site_results.js index 05334df..c86be64 100644 --- a/targets/solr_site/js/solr_site_results.js +++ b/targets/solr_site/js/solr_site_results.js @@ -35,7 +35,7 @@ Drupal.behaviors.roblib_search_solr_site_results = { if (numberOfDocs > 0) { results_url = 'see all results (' + total_found + ') '; - move_me_div_url = 'Website & Guides (' + move_me_div_url = 'Library Site (' + total_found + ') '; jQuery('#' + 'roblib-search-solr-site-results-more').empty().append(results_url); jQuery('#' + 'roblib-solr-more-results-results').empty().append(results_url); diff --git a/targets/solr_site/roblib_search_solr_site.module b/targets/solr_site/roblib_search_solr_site.module index 0cf8870..23fff7c 100755 --- a/targets/solr_site/roblib_search_solr_site.module +++ b/targets/solr_site/roblib_search_solr_site.module @@ -357,11 +357,10 @@ function roblib_search_solr_site_get_results($query = NULL, $type) { $solr_url = variable_get('roblib_search_solr_site_url', 'http://localhost:8983/solr'); $num_results = variable_get('roblib_search_solr_site_num_results', '5'); $solr_qf = apachesolr_environment_variable_get(apachesolr_default_environment(), 'field_bias'); + $qf = ""; foreach ($solr_qf as $key => $value){ - if($value != "0") { $qf .= $key . '^' . $value . ' '; - } } $data = array( 'q' => $query,