mattweber / solr-for-wordpress

A WordPress plugin that replaces the default WordPress search with Solr
85 stars 36 forks source link

Hide error in Autocomplete and enhanced custom post type handling #55

Closed jec006 closed 3 years ago

jec006 commented 11 years ago

For the autocomplete, I'm simply checking that something was returned to prevent errors from showing if solr isn't setup with the terms query type or no terms were found.

For custom post types, I changed the way that they are looked up to use a wordpress function. This allows post types without any entries to be added to the settings which is useful when setting up a new site.

jec006 commented 3 years ago

Closing because this is super old