From b1f62db9ec6955cbbe0a1bef2cae47f10d6d2df4 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 27 Feb 2024 15:26:44 +0100 Subject: [PATCH] Improve map filter plugin documentation --- plugins/MapFilter.jsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/plugins/MapFilter.jsx b/plugins/MapFilter.jsx index eca22f52a..6e01e0440 100644 --- a/plugins/MapFilter.jsx +++ b/plugins/MapFilter.jsx @@ -41,17 +41,24 @@ import './style/MapFilter.css'; * title: "", * titlemsgid: "", * filter: { - * "": + * "": * }, * fields: { * id: "", * title: ", - * titlemsgid: "", + * titlemsgid: "", * defaultValue: , * inputConfig: {} * } * } * ``` + * + * The data service filter expressions are of the form `["", "", ]`, you can also specify complex expressions concatenated with `and|or` as follows: + * + * ``` + * [["", "", ],"and|or",["","",],...] + * ``` + * * You can set the startup filter configuration by specifying a `f` URL-parameter with a JSON-serialized string as follows: * * ```