diff --git a/server/AyaNova/DataList/DataListSqlFilterCriteriaBuilder.cs b/server/AyaNova/DataList/DataListSqlFilterCriteriaBuilder.cs index 834c1a60..4b67e96e 100644 --- a/server/AyaNova/DataList/DataListSqlFilterCriteriaBuilder.cs +++ b/server/AyaNova/DataList/DataListSqlFilterCriteriaBuilder.cs @@ -1636,7 +1636,8 @@ namespace AyaNova.DataList WHERE ARRAY['green'::varchar(255)] <@ tags and array_length(tags,1) = 1 Not equal: Not EXACTLY Equal (aside from order) All terms in search term array NOT present in All terms in db record. IOW if db record has all search terms but also one more tag then it's NOT equal, Order doesn't matter - WHERE NOT (ARRAY['green'::varchar(255)] <@ tags and array_length(tags,1) = 1) + Specifically exclude rows that exactly match all the search terms + WHERE NOT (ARRAY['green'::varchar(255)] <@ tags and array_length(tags,1) = 1) NO value: Empty tag array in db record db record tags has NO value