Hi all,
When I add the following lines into my catalog_controller, the @documents variable that is passed to my citation view and the bookmarks display suddenly includes every single document in my solr index(!) This had not been a problem with Blacklight and advanced_search 5.x; only ran into it when I upgraded both to 6.x. I am using rails 4.2, by the way.
config.advanced_search = {
:form_solr_parameters => {
"facet.field" => ["format", "language_facet"],
"facet.limit" => -1, # return all facet values
"facet.sort" => "index" # sort by byte order of values
}
}
Steps to reproduce:
rails _4.2.5_ new not_working
cd not_working
- Add
gem "blacklight_advanced_search", '~> 6.0' and gem 'blacklight', '~>6.6' to your Gemfile.
rails generate blacklight_advanced_search and rails generate blacklight:install --devise
rake db:migrate
- Add those lines (or something similar; I have tried different values for all of the facet.* configurations) to catalog controller.
- Try visiting bookmarks, where you will note that every single document in the index is suddenly visible in your bookmarks!
- Try going to localhost:3000/catalog/some_document_id/citation. You'll not that it returns citations for the first 10 documents in your index, rather than the requested document.
Any suggestions? Thanks in advance for your help!
Hi all,
When I add the following lines into my catalog_controller, the @documents variable that is passed to my citation view and the bookmarks display suddenly includes every single document in my solr index(!) This had not been a problem with Blacklight and advanced_search 5.x; only ran into it when I upgraded both to 6.x. I am using rails 4.2, by the way.
Steps to reproduce:
rails _4.2.5_ new not_workingcd not_workinggem "blacklight_advanced_search", '~> 6.0'andgem 'blacklight', '~>6.6'to your Gemfile.rails generate blacklight_advanced_searchandrails generate blacklight:install --deviserake db:migrateAny suggestions? Thanks in advance for your help!