diff --git a/src/config_generator/map_viewer_config.py b/src/config_generator/map_viewer_config.py index 6afd3b4..34f77b2 100644 --- a/src/config_generator/map_viewer_config.py +++ b/src/config_generator/map_viewer_config.py @@ -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