Set default edition on bookwyrm import

This commit is contained in:
Mouse Reeve
2021-01-11 10:25:34 -08:00
parent 83852e29eb
commit fe67f65307
3 changed files with 10 additions and 4 deletions

View File

@ -736,7 +736,7 @@ def editions_page(request, book_id):
data = {
'title': 'Editions of %s' % work.title,
'editions': work.editions.all(),
'editions': work.editions.order_by('-edition_rank').all(),
'work': work,
}
return TemplateResponse(request, 'editions.html', data)