Skip to content

Commit 747a68d

Browse files
author
hka
committed
Add more information about the theme search config in themesConfig.json
1 parent 2c0a694 commit 747a68d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/topics/Search.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The next table shows how the values, that are surrounded by {}, need to be defin
168168

169169
| **Name** | **Definition** | **Example** |
170170
|--------------------------|-----------------------------------------------------------------------------------|------------------|
171-
| `DB_HOST` | Database hostname | `qwc`postgis} |
171+
| `DB_HOST` | Database hostname | `qwc-postgis` |
172172
| `DB_NAME` | Database name | `qwc_demo` |
173173
| `DB_PORT` | Database port number | `5432` |
174174
| `DB_USER` | Database username | `qwc_service` |
@@ -249,6 +249,11 @@ and give the users the necessary rights in the Admin GUI.
249249
]
250250
```
251251

252+
When activating a search to a map, you can either:
253+
254+
* Add the search name to the `default` list, where it is always active
255+
* Add the search name to the `layers` object, where it is only active if the QGIS layer called `QGIS_LAYER` is present on the map
256+
252257
2. Create a new resource in the Admin GUI
253258

254259
![Create resource](../images/create_solr_search_facet_resource.png?style=centerme)

0 commit comments

Comments
 (0)