diff --git a/BUGs b/BUGs index 3ede3df..0ba58f8 100644 --- a/BUGs +++ b/BUGs @@ -1,5 +1,4 @@ -#### BUGS (next-15) -BUG-15: http://mara.ddp.net:5000/series/36 -- book num's not showing (b/c books are parent books? in a different series) +#### BUGS (next-16) ### DB/back-end BUG-2: series does not deal with calcd_rating... diff --git a/templates/books_for_series.html b/templates/books_for_series.html index 12905fb..ab1ba49 100644 --- a/templates/books_for_series.html +++ b/templates/books_for_series.html @@ -39,10 +39,11 @@ {% endif %} {% for s in book.series %} - {% if not book.child_ref|length %} - {{ SeriesBookNum( s.id, book.id ) }} of {{s.title}}
+ {% set num = SeriesBookNum( s.id, book.id ) %} + {% if num != None %} + {{num}} of {{s.title}}
{% endif %} - {% if SeriesBookNum( series.id, book.id ) == 1 %} + {% if SeriesBookNum( s.id, book.id ) == 1 %} {% endif %} - {% if SeriesBookNum( series.id, book.id ) == series.num_books %} + {% if SeriesBookNum( s.id, book.id ) == s.num_books %}