Sort shelves by shelfbook updated date
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{% load humanize %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% if shelf.books.all|length > 0 %}
|
||||
{% if books|length > 0 %}
|
||||
<table class="table is-striped is-fullwidth">
|
||||
|
||||
<tr class="book-preview">
|
||||
@ -34,7 +34,7 @@
|
||||
</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% for book in shelf.books.all %}
|
||||
{% for book in books %}
|
||||
<tr class="book-preview">
|
||||
<td>
|
||||
{% include 'snippets/book_cover.html' with book=book size="small" %}
|
||||
|
Reference in New Issue
Block a user