Skip to content

Commit

Permalink
Merge pull request #436 from ox-it/master-test
Browse files Browse the repository at this point in the history
Master test
  • Loading branch information
sp-oxford committed Apr 26, 2016
2 parents b3e99c1 + 7c377b4 commit ff93dd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.komodoproject

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion talks/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def suggest_event_group(request):
"""Get event group titles for typeahead searching
"""
query = request.GET.get('q', '')
series = EventGroup.objects.filter(Q(title__istartswith=query)).distinct()
series = EventGroup.objects.filter(Q(title__startswith=query)).distinct()
serializer = EventGroupSerializer(series, many=True)
return Response(serializer.data)

Expand Down

0 comments on commit ff93dd3

Please sign in to comment.