Filter "Current space" or "Current page" does not work
- Almuth Boehme [Communardo]
- Duy N.
- Judith Winkler
- mxh-admin
Owned by Almuth Boehme [Communardo]
Problem
When adding a CQL filter to the metadata overview macro with the value "Current space" or "Current page", the results are not filtered accordingly.
Solution
This behavior is caused by the following bug: METADATA-451 - Getting issue details... STATUS
It is fixed starting with version 2.2.
Workaround
Depending on your use-case:
- Enter the current space/page by name, not as "current page" or "current space".
- Use the expert filter criteria with the placeholder $content to get the data.
- Current page: metadatafield.linkfield:$content.id
- Current space: metadatafield.linkfield:$content.getSpace()
Related Articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: