Commit c81152f9 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Dossier search: look in doc urls, fixes #114

parent fb219c9a
......@@ -89,7 +89,8 @@ class DossierFilter(FilterSet):
return qs
return qs.filter(Q(title__icontains=value) |
Q(reference__icontains=value))
Q(reference__icontains=value) |
Q(documents__link__icontains=value))
def chamber_filter(self, qs, value):
if len(value) == 0:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment