From f70f008f1de394272a06f65650380bbf81828ba2 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 28 Nov 2020 18:36:07 +1100 Subject: [PATCH] fixed bug with disabling up/down buttons per series, rather than for the series we are viewing (it is now/should be based on how move code works) --- templates/books_for_series.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}