Category with logic AND

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
Djago
Posts: 7
Joined: Thu Apr 16, 2020 3:39 pm

Category with logic AND

Post by Djago » Sat May 16, 2020 5:41 pm

Hi!

I couldn't find any way of doing it, but maybe there's a way I don't know... yet.
Is there a way to select multiple categories to be applied as a filter but using AND logic (not OR logic)?
I have several files with categories in a tree hierarchy:
A---1
A---2
A---3
B---a
B---b
B---c
C---alpha
C---beta
D---alif
D---baa
D---taa
etc.
I want to be able to only see images that have, say:
A-2+B-c+D-baa
or
A-(any), B-a, C-beta

If I CTRL+select multiple categories, I get the sum of all selections, not the intersection of conditions.

Regards

User avatar
michel038
Posts: 497
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Category with logic AND

Post by michel038 » Sun May 17, 2020 8:08 am

See the "Match" menu at the top of "Categories filter" pane ... (any / all)

See also "settings, metadata" : if "automatically apply parent keywords" is enabled, then :
- select a parent category with Ctrl key will select all (hidden) subcategories , and you will get 0 answers.

so , disable the option to be able to use Ctrl key

a hidden feature is the use of Alt key, to exclude categories

Djago
Posts: 7
Joined: Thu Apr 16, 2020 3:39 pm

Re: Category with logic AND

Post by Djago » Mon May 18, 2020 3:10 am

Very nice!
Thank you!

Post Reply