diff --git a/apiserver/database/model/base.py b/apiserver/database/model/base.py index 3847b636..8f5eeb3f 100644 --- a/apiserver/database/model/base.py +++ b/apiserver/database/model/base.py @@ -147,7 +147,8 @@ class NewListFieldBucketHelper: } default_operator = Q.OR mongo_modifiers = { - Q.AND: {True: "all", False: "not__all"}, + # not_all modifier currently not supported due to the backwards compatibility + Q.AND: {True: "all", False: "nin"}, Q.OR: {True: "in", False: "nin"}, }