Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
c81152f9
Commit
c81152f9
authored
Sep 01, 2016
by
Nicolas Joyard
Browse files
Dossier search: look in doc urls, fixes #114
parent
fb219c9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
memopol/filters.py
View file @
c81152f9
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment