Description
The empty operator is automatically added to list properties that have a select filter in the live data. Unfortunately, there is no possibility to remove it. This is because the operators in the configuration are an array of objects with an "id" property (like "operators": [\{"id": "empty"}]) and these arrays are merged with a default configuration that contains the empty operator. Therefore, regardless if the "empty"-operator is included or not, it is added from the default configuration. The use case is that there are cases where it is impossible that a value is empty, e.g., because it is the last user that wrote a page or because it is a file size.
A first step would be an option to manually disable the "empty" value. A possibility would be to add a property to the operator to explicitly disable it, like "operators": [\{"id": "empty", "disabled": true}]). Even better would be to detect common properties where it should be omitted.
Attachments
Issue Links
- blocks
-
XWIKI-18757 Replace the Livetable from the ClassSheet with a Live Data
- Closed
-
XWIKI-18758 Replace the Livetable from the Data types page with a Live Data
- Closed
- is caused by
-
XWIKI-18661 Impossible to filter panel type or category with empty value
- Closed
- is related to
-
XWIKI-18274 The Advanced Filtering panel shows operators that are not supported by the live data source
- Open
- relates to
-
XWIKI-19310 Allow to create easily read only live data
- Open