Commit 293f7714 authored by cermak's avatar cermak
Browse files

fix

parent 51959c7d
......@@ -137,8 +137,7 @@ class ProposalsDetailView(LoginRequiredMixin, DetailView):
qs = qs.filter(Q(proposer=self.request.user) |
Q(coproposers__uid__exact=self.request.user) |
Q(local_contacts__uid__exact=self.request.user) |
~Q(last_status__in='P') |
~Q(proposaltype='T')
~Q(Q(last_status__in='P') | Q(proposaltype='T'))
)
else: # can view only if it is part of the team
qs = qs.filter(Q(proposer=self.request.user) |
......
Markdown is supported
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