From 5e87504b22e8be906c4740eb3ad1acf57bf93bf8 Mon Sep 17 00:00:00 2001 From: 0x29a Date: Mon, 30 Jan 2023 06:28:35 +0100 Subject: [PATCH] Remove duplicated editions request from book.html --- bookwyrm/templates/book/book.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index 69cbb9eb8..2fe9cdae4 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -215,10 +215,10 @@ {% endif %} - {% with work=book.parent_work %} + {% with work=book.parent_work editions_count=book.parent_work.editions.count %}

- {% blocktrans trimmed count counter=work.editions.count with count=work.editions.count|intcomma %} + {% blocktrans trimmed count counter=editions_count with count=editions_count|intcomma %} {{ count }} edition {% plural %} {{ count }} editions