Skip to content

Commit

Permalink
Updating search field for tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronweaver committed Feb 5, 2018
1 parent b7c5a41 commit 6a61c0d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion defectdojo_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.6'
__version__ = '1.0.7'
Binary file modified defectdojo_api/__init__.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions defectdojo_api/defectdojo.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ def list_tools(self, name=None, tool_type_id=None, url=None, limit=20):
params['limit'] = limit

if name:
params['name__contains'] = name
params['name'] = name

if tool_type_id:
params['tool_type__id'] = tool_type_id
Expand Down Expand Up @@ -872,10 +872,10 @@ def list_tool_products(self, url=None, name=None, tool_configuration_id=None,
params['limit'] = limit

if name:
params['name__contains'] = name
params['name'] = name

if url:
params['url__contains'] = url
params['url'] = url

if tool_project_id:
params['tool_project_id__contains'] = tool_project_id
Expand Down
Binary file modified defectdojo_api/defectdojo.pyc
Binary file not shown.

0 comments on commit 6a61c0d

Please sign in to comment.