-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding facets to advanced search 6.x messes up the @documents variable #64
Comments
Not sure if this is related, but I'm finding that having an advanced field named "format" really screws things up. This is because blacklight_advanced_search uses Rails URL helpers to generate urls. When you pass in a hash to the URL helpers that has, say For me, this was creating some broken links that, when followed, would result in a |
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_working
cd not_working
gem "blacklight_advanced_search", '~> 6.0'
andgem 'blacklight', '~>6.6'
to your Gemfile.rails generate blacklight_advanced_search
andrails generate blacklight:install --devise
rake db:migrate
Any suggestions? Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: