Fix invalid keyword error flat
parent
ec398a1d43
commit
1e2358d0a9
|
@ -20,14 +20,14 @@ from django.db import connection
|
||||||
|
|
||||||
def _get_stories_tags(project):
|
def _get_stories_tags(project):
|
||||||
result = set()
|
result = set()
|
||||||
for tags in project.user_stories.values("tags", flat=True):
|
for tags in project.user_stories.values_list("tags", flat=True):
|
||||||
result.update(tags)
|
result.update(tags)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def _get_issues_tags(project):
|
def _get_issues_tags(project):
|
||||||
result = set()
|
result = set()
|
||||||
for tags in project.issues.values("tags", flat=True):
|
for tags in project.issues.values_list("tags", flat=True):
|
||||||
result.update(tags)
|
result.update(tags)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue