diff --git a/bookwyrm/templates/lists/list_items.html b/bookwyrm/templates/lists/list_items.html index 4560147f1..942579ca9 100644 --- a/bookwyrm/templates/lists/list_items.html +++ b/bookwyrm/templates/lists/list_items.html @@ -9,8 +9,8 @@
- {% 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 %}