From 45c086160db14a9f8d5711d7c6b32a00ea34b347 Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Tue, 25 Jul 2023 15:04:13 +0200 Subject: [PATCH] fix: config documentation fix: config documentation --- conf/default.toml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/conf/default.toml b/conf/default.toml index f5d0086ea2..ee1b4d69c8 100644 --- a/conf/default.toml +++ b/conf/default.toml @@ -73,7 +73,8 @@ background_color = "#fdfbff" # - a sort criteria: either `createDate`, `userSavedCount` or `_score` (prepend with `-` for descending sort) # - filters which can be expressed like so: # [[search_preset]] -# filters.q = 'Full text search +# name = 'filterByName' +# filters.q = 'Full text search' # filters.publisher = ['Org 1', 'Org 2'] # filters.format = ['format 1', 'format 2'] # filters.documentStandard = ['iso19115-3.2018'] @@ -82,16 +83,12 @@ background_color = "#fdfbff" # filters.publicationYear = ['2023', '2022'] # filters.isSpatial = ['yes'] # filters.license = ['unknown'] -# -# Search presets will be advertised to the user along the main search field. - # [[search_preset]] -# sort = "-createDate" -# name = 'filterByOrgs' -# filters.publisher = ['DREAL', 'atmo Hauts-de-France', 'blargz'] -# [[search_preset]] -# name = 'Wind turbines' -# filters.q = 'wind' +# name = 'otherFilterName' +# filters.q = 'Other Full text search' +# ... + +# Search presets will be advertised to the user along the main search field. ### MAP SETTINGS