summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 07:50:55 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 07:50:55 +0530
commit92a40de2fefa6c0fc72945ae957bb5d248b97c4e (patch)
treeefce2adff1a9c33dbc33e21453ec3558182ddd6a /hyperkitty
parent0981c73411f3d34d258bc4fd47606d6da41077b8 (diff)
downloadhyperkitty-92a40de2fefa6c0fc72945ae957bb5d248b97c4e.tar.gz
hyperkitty-92a40de2fefa6c0fc72945ae957bb5d248b97c4e.tar.xz
hyperkitty-92a40de2fefa6c0fc72945ae957bb5d248b97c4e.zip
Add Tag : display all messages with particular tag
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/views/list.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py
index 33ea992..b68d220 100644
--- a/hyperkitty/views/list.py
+++ b/hyperkitty/views/list.py
@@ -293,9 +293,9 @@ def search_tag(request, mlist_fqdn, tag=None, page=1):
threads = []
for thread in thread_ids:
- threads = STORE.get_thread(list_name, thread.threadid)
- threads = threads[0:1]
-
+ threads_tmp = STORE.get_thread(list_name, thread.threadid)
+ threads.append(threads_tmp[0])
+
return _search_results_page(request, mlist_fqdn, threads,
'Tag search', page, limit=50)