SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit ad01f098 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Order papers by nr in issue page

parent 3155f5a7
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ def scipost_physics(request): ...@@ -61,7 +61,7 @@ def scipost_physics(request):
latest_issue = Issue.objects.filter( latest_issue = Issue.objects.filter(
in_volume__in_journal__name='SciPost Physics').order_by('-until_date').first() in_volume__in_journal__name='SciPost Physics').order_by('-until_date').first()
recent_papers = Publication.objects.filter( recent_papers = Publication.objects.filter(
in_issue=latest_issue).order_by('-publication_date') in_issue=latest_issue).order_by('paper_nr')
#accepted_SP_submissions = Submission.objects.filter( #accepted_SP_submissions = Submission.objects.filter(
# submitted_to_journal='SciPost Physics', status='accepted' # submitted_to_journal='SciPost Physics', status='accepted'
#).order_by('-latest_activity') #).order_by('-latest_activity')
......
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