Don't restrict milestone search for drafts to drafts belonging to
group, there are probably going to be some that are not associated at some point - Legacy-Id: 4588
This commit is contained in:
parent
1d0ba6c341
commit
0e619af3b3
|
@ -369,5 +369,5 @@ def reset_charter_milestones(request, acronym):
|
|||
|
||||
|
||||
def ajax_search_docs(request, acronym):
|
||||
docs = Document.objects.filter(name__icontains=request.GET.get('q',''), group__acronym=acronym, type="draft").order_by('name').distinct()[:20]
|
||||
docs = Document.objects.filter(name__icontains=request.GET.get('q',''), type="draft").order_by('name').distinct()[:20]
|
||||
return HttpResponse(json_doc_names(docs), mimetype='application/json')
|
||||
|
|
Loading…
Reference in a new issue