From 07c4eefe70e150126bf1a708446b44ea1cdc3d9a Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Tue, 15 Oct 2024 16:15:02 +0200 Subject: [PATCH] doc(default): add comment on org filter --- conf/default.toml | 3 ++- docs/reference/search-fields.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/default.toml b/conf/default.toml index 17f646eeed..0cd7d309d6 100644 --- a/conf/default.toml +++ b/conf/default.toml @@ -80,7 +80,8 @@ background_color = "#fdfbff" # The advanced search filters available to the user can be customized with this setting. # The following fields can be used for filtering: 'organization', 'format', 'publicationYear', 'standard', 'inspireKeyword', 'keyword', 'topic', 'isSpatial', 'license', 'resourceType', 'representationType', 'producerOrg', 'publisherOrg' -# any other field will be ignored +# If not configured, the default values are 'organization', 'format', 'publicationYear', 'topic', 'isSpatial', 'license' +# Note that some links in the datahub app set an 'organization' filter. So this field is needed to allow unsetting such filters. # advanced_filters = ['organization', 'format', 'publicationYear', 'topic', 'isSpatial', 'license'] # One or several search presets can be defined here; every search preset is composed of: diff --git a/docs/reference/search-fields.md b/docs/reference/search-fields.md index 977934c0b1..0085eb2e2c 100644 --- a/docs/reference/search-fields.md +++ b/docs/reference/search-fields.md @@ -22,6 +22,8 @@ These fields are used in the following context: This field targets the owner organization of a record. The exact meaning of a record's organization is defined by the "organization strategy" used; see [this documentation page](./organizations.md) for more details. +_Note: The `organization` search field is set by some routing links within the datahub app. It is thus needed to unset such filters._ + ### Publisher > Field id: `publisherOrg`