Skip to content
Snippets Groups Projects
Unverified Commit 395aeade authored by Wes Appler's avatar Wes Appler Committed by GitHub
Browse files

Changed order of `Past Submissions` in the detailed submission view (#3876)

Fixes #3875. 

Switches order to date submitted in `Related Submission`'s
`Past Submissions`
parent 35319ebc
No related branches found
No related tags found
1 merge request!89Upgrade to 5.10.0
......@@ -1117,6 +1117,7 @@ class AdminSubmissionDetailView(ActivityContextMixin, DelegateableView, DetailVi
self.model.objects.filter(user=self.object.user)
.current()
.exclude(id=self.object.id)
.order_by("-submit_time")
)
if self.object.next:
other_submissions = other_submissions.exclude(id=self.object.next.id)
......
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