Skip to content

Commit f8c9833

Browse files
committed
Document id_in_quotes and isbackground in rows returned by trgm queries
1 parent b4bed2b commit f8c9833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/topics/Search.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ The `trgm_feature_query` must return the following fields:
301301
* `feature_id`: The feature identifier through which to locate the feature in table referenced by the facet.
302302
* `bbox`: The feature bounding box, as a`[xmin,ymin,xmax,ymax]` string.
303303
* `srid`: The SRID of the bbox coordinates (i.e. `3857`).
304+
* `id_in_quotes`: Whether the id field value should be quoted.
304305

305306
Example:
306307

@@ -313,6 +314,7 @@ The `trgm_layer_query` must return the following fields:
313314
* `dataproduct_id`: The id of the dataproduct.
314315
* `has_info`: Whether an abstract is available for the dataproduct.
315316
* `sublayers`: A JSON stringified array of the shape `[{"ident": "<dataproduct_id>", "display": "<display>", "dset_info": true}, ...]`, or `NULL` if no sublayers exist.
317+
* `isbackground`: Whether the layer is a background layer.
316318

317319
*Note*: The layer query relies on an additional service, configured as `dataproductServiceUrl` in the viewer `config.json`, which resolves the `dataproduct_id` to a QWC theme sublayer object, like the [`sogis-dataproduct-service`](https://github.com/qwc-services/sogis-dataproduct-service).
318320

0 commit comments

Comments
 (0)