Instead of the behavior described below, in my environment, the match is OR, not AND.
Any idea what might cause this?
Include Images with these Labels Only(includeLabel ) | None. The images are not filtered by label. | Filters the images to display, based on a list of labels. If you wish to enter more than one label, separate the labels with commas. Confluence will show only images that have all the labels specified. (The match is an AND, not an OR.) For information on labeling the attachments, see Add, Remove and Search for Labels. |
If your environment, matches with AND, it behaves exactly like the description says:
"The match is an AND, not an OR."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please explain your setting a little bit more (labels, settings of the gallery macro, maybe screenshots) ? It is difficult to say anything more without these informations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Say I have a page with the following 5 images with the given labels: cheese, pic, random.
According to the documentation, adding a gallery Macro with Include Images with these Labels Only set to random, pic, cheese should display only attached image bla.png (the only one that's containing all the labels). instead it displays all images, because each one has at least one of the 3 specified labels.
Confluence version: 6.2.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the example, I see the same behaviour in my Confluence installations 6.7.0 and 5.10.7.
You should raise a support ticket here: https://support.atlassian.com/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They confirmed that the match is OR and not AND. It seems that the documentation is messed and the macro behavior is correct. The documentation should be updated soon. Thanks for suggesting contacting them, @Thomas Schlegel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.