projectblacklight / blacklight_advanced_search

Advanced search plugin for Blacklight
http://projectblacklight.org
Other
24 stars 25 forks source link

undefined method `search_results' in BL-7 #84

Closed dkinzer closed 6 years ago

dkinzer commented 6 years ago

I'm getting

undefined method `search_results' for ...

on a site that I have upgraded to BL-7.

dkinzer commented 6 years ago

Looks like BL-7 now uses:

  def index
    (@response, deprecated_document_list) = search_service.search_results

As the signature for updating running the query.

I guess we'll need to update this gem to do the same.

dkinzer commented 6 years ago

I added a couple of fixes to my deprecation PR that fixes my local issues. Now I can go to the advanced search page and do a search without it throwing an exception. I don't know if that's all the issues for upgrade to BL-7 but it's a start.

dkinzer commented 6 years ago

Fixed by #85