Open cimbach opened 3 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
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:
https://map.cartoriviera.ch
Search of the word 'ISOS' -> "AJOUTER UN GROUPE DE COUCHE : ISOS" is displayed in the list of results
When we click on the result "ISOS", the according layer group is not activated
https://map.cartolacote.ch
Search of the word 'fixes' -> "AJOUTER UN SOUS-THEME : Points fixes" is displayed in the list of results
When we click on the result "Points fixes", the according layer group is not activated