SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 8807c592 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Add extra ordering

parent 0457ce4c
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ class Submission(models.Model):
def thread(self):
"""Return all (public) Submissions in the database in this ArXiv identifier series."""
return Submission.objects.public().filter(thread_hash=self.thread_hash).order_by(
'-preprint__vn_nr')
'-preprint__vn_nr', '-submission_date')
@cached_property
def other_versions_public(self):
......
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