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 7cf53d9 commit c58a75fCopy full SHA for c58a75f
functions/technologies/libs/queries.py
@@ -45,16 +45,18 @@ def list_data(params):
45
documents = query.stream()
46
47
data = []
48
- seen = set()
49
- for doc in documents:
50
- item = doc.to_dict()
51
-
52
- if onlyname:
+ if onlyname and 'client' not in params:
+ appended_technologies = set()
+ for doc in documents:
+ item = doc.to_dict()
53
technology = item['technology']
54
- if technology not in seen:
55
- seen.add(technology)
+ if technology not in appended_technologies:
+ appended_technologies.add(technology)
56
data.append(technology)
57
- else:
+
+ else:
58
59
60
data.append(Presenters.technology(item))
61
62
return Result(result=data)
0 commit comments