diff options
Diffstat (limited to 'hyperkitty/views/list.py')
-rw-r--r-- | hyperkitty/views/list.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py index 8b222c4..8a96fd2 100644 --- a/hyperkitty/views/list.py +++ b/hyperkitty/views/list.py @@ -33,7 +33,7 @@ from django.http import Http404 from hyperkitty.models import Tag, Favorite, LastView from hyperkitty.lib import get_months, get_store, get_display_dates, daterange -from hyperkitty.lib import FLASH_MESSAGES, paginate +from hyperkitty.lib import FLASH_MESSAGES, paginate, get_category_widget from hyperkitty.lib.voting import get_votes, set_message_votes, set_thread_votes @@ -107,6 +107,10 @@ def _thread_list(request, mlist, threads, template_name='thread_list.html', extr except Tag.DoesNotExist: thread.tags = [] + # Category + thread.category_hk, thread.category_form = \ + get_category_widget(request, thread.category) + # Unread status thread.unread = False if request.user.is_authenticated(): |