Browse Source

fixed search all results for guides better

2.x-ebsco
Paul Pound 11 years ago
parent
commit
3f5c9a0e12
  1. 2
      targets/solr_site/js/solr_site_guides.js
  2. 2
      targets/solr_site/roblib_search_solr_site.module

2
targets/solr_site/js/solr_site_guides.js

@ -33,7 +33,7 @@ Drupal.behaviors.roblib_search_solr_site_guides = {
}
if (numberOfDocs > 0)
{
jQuery('#' + 'roblib-search-solr-site-guides-more').empty().append('<a href="'+ baseUrl + '/search/site/' + query +'?f[0]sm_vid_SearchKeywords:guides">see all results</a>');
jQuery('#' + 'roblib-search-solr-site-guides-more').empty().append('<a href="'+ baseUrl + '/search/site/' + query +'?f[0]=im_field_keywords%3A627">see all results</a>');
}
});
}

2
targets/solr_site/roblib_search_solr_site.module

@ -229,7 +229,7 @@ function roblib_search_solr_site_databases($query) {
}
function roblib_search_solr_site_guides($query) {
print roblib_search_solr_site_get_results($query, 'sm_vid_SearchKeywords:guides');
print roblib_search_solr_site_get_results($query, 'im_field_keywords:627');//sm_vid_SearchKeywords:guides');
exit();
}

Loading…
Cancel
Save