From b18987bcef3f64ad8bb6b019615a77a6dac2d9eb Mon Sep 17 00:00:00 2001 From: pablohashescobar Date: Fri, 22 Mar 2024 17:27:49 +0530 Subject: [PATCH] fix: label id and assignee id interchange --- apiserver/plane/utils/grouper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apiserver/plane/utils/grouper.py b/apiserver/plane/utils/grouper.py index 5489683ae..b6bc1a347 100644 --- a/apiserver/plane/utils/grouper.py +++ b/apiserver/plane/utils/grouper.py @@ -26,8 +26,8 @@ def issue_queryset_grouper(queryset, group_by, sub_group_by): } annotations_map = { - "label_ids": ("assignees__id", ~Q(assignees__id__isnull=True)), - "assignee_ids": ("labels__id", ~Q(labels__id__isnull=True)), + "assignee_ids": ("assignees__id", ~Q(assignees__id__isnull=True)), + "label_ids": ("labels__id", ~Q(labels__id__isnull=True)), "module_ids": ( "issue_module__module_id", ~Q(issue_module__module_id__isnull=True),