Skip to content

Commit

Permalink
Handle new fulltext search provider configuration format
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Nov 26, 2024
1 parent 39bbc85 commit e677155
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/config_generator/map_viewer_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,12 @@ def theme_item(self, cfg_item, themes_config, assets_dir, autogenExternalLayers,
for search_provider in search_providers:
if (
'provider' in search_provider
and search_provider.get('provider') == 'solr'
and (
search_provider.get('provider') == 'solr' or
search_provider.get('provider') == 'fulltext'
)
):
search_layers = search_provider.get('layers', {})
search_layers = search_provider.get('params', {}).get('layers', search_provider.get('layers', {}))
break

# collect layers
Expand Down

0 comments on commit e677155

Please sign in to comment.