[digiKam-users] Exclude tags in search
Remco Viƫtor
remco.vietor at wanadoo.fr
Thu Sep 24 12:41:04 BST 2020
On jeudi 24 septembre 2020 13:11:46 CEST ssm2017 wrote:
> hello
> using digikam 7.1
> i have images with tags :
> image1 tag a
> image 2 tag b
> image 3 tag a b
> image 4 tag a b c
> image 5 tag b c
> i would like to get all the images containing the tag a and b but without c
> the result would be :
> image 1
> image 2
> image 3
> is there a way to achieve this using the search engine ?
if you indeed want as output the images 1, 2, and 3 only,
you need a search for (a OR b) AND (NOT c).
Using the advanced search, that's easy enough:
first search group:
make sure that in the 'options' (toggle at top right) you select 'Meet Any of
the folllowing conditions),
and select the tags 'a' and 'b' in '*tags* return items with tag'
Add a search group,
there, in the options field, select 'none of these conditions are met',
and under '*tags* select tag c,
combine the two with 'AND' (if necessary, click on the "OR" in the group title
bar)
Remco
More information about the Digikam-users
mailing list