From 2263e7cc1e72ec5136d4f37b94e4fda787fb2128 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 31 Jul 2023 14:16:08 +0300 Subject: [PATCH] Fix regression with archive tasks display --- apiserver/database/model/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"}, }