Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9302

Blog-Post macro parameter 'match-labels=all' incorrect if a label does not exist

XMLWordPrintable

      From a comment on CONF-5428:

      I did some testing on my own and concluded that match-labels=all is ignored when one of the labels is not used.

      For example, if some of pages are labeled with both "release" and "product1" labels and none is labeled with "product2".
      {blog-posts:labels=release,product1|match-labels=all}

      will return list of pages labeled with release AND product1 (this is correct)
      {blog-posts:labels=release,product2|match-labels=all}

      will return list of all pages labeled with release (this is wrong)

              cbroadfoot Chris Broadfoot [Atlassian]
              matt@atlassian.com Matt Ryall
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: