TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.19k stars 364 forks source link

Add option to disable the search in catalog link in Location Search results #7307

Closed aclel closed 4 days ago

aclel commented 2 weeks ago

What this PR does

This introduces a new configuration option to disable the "Search In the Data Catalog" link in Location Search results.

image

If the config option is set to false, the link is not shown. The option defaults to true to show the link.

Test me

Set showSearchInCatalogLink to false in config parameters and check that the link does not appear in search results when you search for something.

Checklist

CLAassistant commented 2 weeks ago

CLA assistant check
All committers have signed the CLA.

aclel commented 1 week ago

Hi @na9da, thanks for the review! I've made the changes you suggested.

na9da commented 4 days ago

Merged, thanks @aclel.