camptocamp / GeoMapFish

6 stars 1 forks source link

FullTextSearch: selected layer group not activated #55

Open cimbach opened 3 years ago

cimbach commented 3 years ago

The full text search box let us search for available layers. When a layer is found, it appears in the list of results and is activated when selected, so we can see it on the map.

It works the same for layer groups, if one is found it shows up in the list. But when it is selected, it stays grayed out in the layer tree and is not displayed on the map.

Test cases:

cimbach commented 2 years ago

According to C2C, this function works for single layers but is not implemented for layer groups.

Thus in order to get results for single layers only, I have to run the full text search import command with the no-folders option: docker-compose exec geoportal theme2fts --no-folders --package lausanne_mapfish