Skip to content

Commit 01476ba

Browse files
committed
feat: SW360 slowed down searching by tag - only with a new parameter it gets fast again
1 parent 2032554 commit 01476ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sw360/sw360_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def get_projects_by_tag(self, tag):
360360
:rtype: list of JSON project objects
361361
:raises SW360Error: if there is a negative HTTP response
362362
"""
363-
full_url = self.url + "resource/api/projects?tag=" + tag
363+
full_url = self.url + "resource/api/projects?tag=" + tag + "&luceneSearch=true"
364364
resp = self.api_get(full_url)
365365
if not resp:
366366
return None

0 commit comments

Comments
 (0)