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:

It is fixed starting with version 2.2.

Depending on your use-case:

  1. Enter the current space/page by name, not as "current page" or "current space".
  2. 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

Verwandte Artikel erscheinen hier basierend auf den Stichwörtern, die Sie auswählen. Klicken Sie, um das Makro zu bearbeiten und Stichwörter hinzuzufügen oder zu ändern.


Verwandte Vorgänge