Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CoopStarter Data
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Startin blox
A
applications
Coop Starter
CoopStarter Data
Commits
cf13dd5a
Commit
cf13dd5a
authored
Sep 03, 2019
by
Benoit Alessandroni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing filter because of review rework
parent
6816897a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
coopstarter_data/views.py
coopstarter_data/views.py
+1
-1
No files found.
coopstarter_data/views.py
View file @
cf13dd5a
...
...
@@ -6,5 +6,5 @@ class PendingResourcesViewSet(LDPViewSet):
def
get_queryset
(
self
,
*
args
,
**
kwargs
):
return
super
()
.
get_queryset
(
*
args
,
**
kwargs
)
\
.
filter
(
review
s
=
None
,
language__in
=
self
.
request
.
user
.
mentor_profile
.
languages
.
all
(),
fields__in
=
self
.
request
.
user
.
mentor_profile
.
fields
.
all
())
\
.
filter
(
review
__status
=
'pending'
,
language__in
=
self
.
request
.
user
.
mentor_profile
.
languages
.
all
(),
fields__in
=
self
.
request
.
user
.
mentor_profile
.
fields
.
all
())
\
.
exclude
(
submitter
=
self
.
request
.
user
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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