Closed nmashton closed 8 years ago
ActivityLookup had two issues:
''
Project.objects.get(pk='')
get_query
Two things are added:
request.GET['project']
None
Assuming Travis eventually passes, this is :100:
ActivityLookup had two issues:
''
was passed in as the term, causing the invalid function callProject.objects.get(pk='')
.get_query
method was returning a restricted set of results.Two things are added:
request.GET['project']
is set toNone
, and a guard is added to ensure that the value is non-None
and non-''
.