Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
nm.debian.org
Commits
86925a27
Commit
86925a27
authored
Aug 29, 2015
by
Enrico Zini
Browse files
api/views/People now filters on fprs
parent
9e2822cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/views.py
View file @
86925a27
...
...
@@ -81,7 +81,7 @@ class People(APIVisitorMixin, View):
if
val
:
people
=
people
.
filter
(
uid__icontains
=
val
)
val
=
request
.
GET
.
get
(
"fpr"
,
""
)
if
val
:
people
=
people
.
filter
(
fpr__icontains
=
val
)
if
val
:
people
=
people
.
filter
(
fprs__
fpr__icontains
=
val
)
val
=
request
.
GET
.
get
(
"status"
,
""
)
if
val
:
people
=
people
.
filter
(
status
=
val
)
...
...
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