Skip to content
Snippets Groups Projects
Commit 5e50fca3 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Fix to allow reviewers to access determinations.

parent 2f957400
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,7 @@ class ReviewerDeterminationDetailView(DetailView):
model = Determination
def get_object(self, queryset=None):
return self.model.objects.get(submission=self.submission)
return self.model.objects.get(submission=self.submission, id=self.kwargs['pk'])
def dispatch(self, request, *args, **kwargs):
self.submission = get_object_or_404(ApplicationSubmission, id=self.kwargs['submission_pk'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment