We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9454a03 commit c30a91eCopy full SHA for c30a91e
src/sentry/api/endpoints/group_tags.py
@@ -12,12 +12,14 @@
12
13
class GroupTagsEndpoint(GroupEndpoint):
14
def get(self, request, group):
15
+ grouptagkeys = list(GroupTagKey.objects.filter(
16
+ group_id=group.id
17
+ ).values_list('key', flat=True))
18
+
19
tag_keys = TagKey.objects.filter(
20
project_id=group.project_id,
21
status=TagKeyStatus.VISIBLE,
- key__in=GroupTagKey.objects.filter(
- group_id=group.id,
- ).values('key'),
22
+ key__in=grouptagkeys,
23
)
24
25
# O(N) db access
0 commit comments