Sort list preview by most recently added

This commit is contained in:
Mouse Reeve 2021-02-03 16:11:42 -08:00
parent 476d65552e
commit 39d31060e1

View file

@ -9,8 +9,8 @@
</h4>
</header>
<div class="card-image is-flex">
{% for book in list.books.all|slice:5 %}
{% include 'snippets/book_cover.html' with book=book size="small" %}
{% for book in list.listitem_set.all|slice:5 %}
{% include 'snippets/book_cover.html' with book=book.book size="small" %}
{% endfor %}
</div>
<div class="card-content is-flex-grow-0">