mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
tags in detail view are sorted
This commit is contained in:
parent
6b4d7674b5
commit
b2ba8bceb2
@ -1483,6 +1483,8 @@ def show_book(book_id):
|
||||
else:
|
||||
have_read = None
|
||||
|
||||
entries.tags = sort(entries.tags, key = lambda tag: tag.name)
|
||||
|
||||
return render_title_template('detail.html', entry=entries, cc=cc, is_xhr=request.is_xhr,
|
||||
title=entries.title, books_shelfs=book_in_shelfs, have_read=have_read,
|
||||
rarsupport=rar_support)
|
||||
|
Loading…
Reference in New Issue
Block a user