diff --git a/templates/books_for_series.html b/templates/books_for_series.html index 451b0fe..f56442d 100644 --- a/templates/books_for_series.html +++ b/templates/books_for_series.html @@ -42,7 +42,7 @@ {% if not book.child_ref|length %} {{ SeriesBookNum( s.id, book.id ) }} of {{s.title}}
{% endif %} - {% if SeriesBookNum( s.id, book.id ) == 1 %} + {% if SeriesBookNum( series.id, book.id ) == 1 %} {% endif %} - {% if SeriesBookNum( s.id, book.id ) == s.num_books %} + {% if SeriesBookNum( series.id, book.id ) == series.num_books %}