From 190bf89337ec93b6325e91c3165b1a3d5c37d6a1 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 12 Jul 2013 13:07:19 +0200 Subject: Documentation and a small fix --- doc/install.rst | 3 +++ hyperkitty/views/list.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/install.rst b/doc/install.rst index d7c35a0..b335d18 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -116,6 +116,9 @@ command:: python hyperkitty_standalone/manage.py loaddata first_start +Thread categories can be edited and added from the Django administration +interface (append ``/admin`` to your base URL). + Upgrading ========= diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py index 510d53b..e6069f8 100644 --- a/hyperkitty/views/list.py +++ b/hyperkitty/views/list.py @@ -233,7 +233,7 @@ def overview(request, mlist_fqdn=None): for thread in active_threads: if not thread.category: continue - if len(threads_by_category.setdefault(thread.category, [])) > 5: + if len(threads_by_category.setdefault(thread.category, [])) >= 5: continue threads_by_category[thread.category].append(thread) -- cgit