From e9948f96751cb90a006e0448cc4562277ca80ee8 Mon Sep 17 00:00:00 2001 From: Darks Date: Fri, 18 Sep 2020 20:05:12 +0200 Subject: [PATCH] forum: fix index --- app/templates/forum/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/forum/index.html b/app/templates/forum/index.html index 619c362..769a660 100644 --- a/app/templates/forum/index.html +++ b/app/templates/forum/index.html @@ -25,13 +25,13 @@ {% if l1.sub_forums == [] %} {{ l1.name }} - {{ l1.topics | length }} + {{ l1.topics.count() }} {{ l1.descr }} {% endif %} {% for l2 in l1.sub_forums %} {{ l2.name }} - {{ l2.topics | length }} + {{ l2.topics.count() }} {{ l2.descr }} {% endfor %}