Skip to content

Commit 6a61c0d

Browse files
committed
Updating search field for tools.
1 parent b7c5a41 commit 6a61c0d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

defectdojo_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.6'
1+
__version__ = '1.0.7'

defectdojo_api/__init__.pyc

0 Bytes
Binary file not shown.

defectdojo_api/defectdojo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def list_tools(self, name=None, tool_type_id=None, url=None, limit=20):
844844
params['limit'] = limit
845845

846846
if name:
847-
params['name__contains'] = name
847+
params['name'] = name
848848

849849
if tool_type_id:
850850
params['tool_type__id'] = tool_type_id
@@ -872,10 +872,10 @@ def list_tool_products(self, url=None, name=None, tool_configuration_id=None,
872872
params['limit'] = limit
873873

874874
if name:
875-
params['name__contains'] = name
875+
params['name'] = name
876876

877877
if url:
878-
params['url__contains'] = url
878+
params['url'] = url
879879

880880
if tool_project_id:
881881
params['tool_project_id__contains'] = tool_project_id

defectdojo_api/defectdojo.pyc

81 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)