4teamwork / ftw.solr

Solr integration for Plone
5 stars 5 forks source link

Fix livesearch for while user is on contentish object #152

Closed Nachtalb closed 4 years ago

Nachtalb commented 4 years ago

The livesearch accesses "search-facets" on the current context and when the user was on a contentish object (like the detail view of an ftw.addressblock.Addressblock or the fron-page created on the default plone installation) the livesearch view threw an error because "search-facets" was not available for that object.