localgovdrupal / localgov_directories

Searchable, filterable, directories of information, and locations.
1 stars 3 forks source link

Also add facet configuration on updating the index (enabling) (#359) #363

Closed finnlewis closed 8 months ago

finnlewis commented 8 months ago

The facets configuration won't be enabled when the index has the field added if the index is disabled at the time. Check when the index is updated, if it is enabled and has the field, create the facet (the create method also checks that it doesn't already exist).