SciPost Code Repository

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

Fix Production admin order bug

parent f32351f2
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ admin.site.register(ProductionStream, ProductionStreamAdmin)
class ProductionEventAdminForm(forms.ModelForm):
stream = forms.ModelChoiceField(
queryset=ProductionStream.objects.order_by('-submission.arxiv_identifier_w_vn_nr'))
queryset=ProductionStream.objects.order_by('-submission__arxiv_identifier_w_vn_nr'))
class Meta:
model = ProductionEvent
......
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