diff options
author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 07:06:14 +0530 |
---|---|---|
committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 07:06:14 +0530 |
commit | 0981c73411f3d34d258bc4fd47606d6da41077b8 (patch) | |
tree | 04eff4963a0511a086d80d1e76b787a96eae3ee1 /hyperkitty/views | |
parent | c629cbceabddd5335dc42f7a3916e9c3d1a06db8 (diff) | |
download | hyperkitty-0981c73411f3d34d258bc4fd47606d6da41077b8.tar.gz hyperkitty-0981c73411f3d34d258bc4fd47606d6da41077b8.tar.xz hyperkitty-0981c73411f3d34d258bc4fd47606d6da41077b8.zip |
Feature : Add tag to email threads
Diffstat (limited to 'hyperkitty/views')
-rw-r--r-- | hyperkitty/views/list.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py index 843cd97..33ea992 100644 --- a/hyperkitty/views/list.py +++ b/hyperkitty/views/list.py @@ -290,11 +290,12 @@ def search_tag(request, mlist_fqdn, tag=None, page=1): thread_ids = Tag.objects.filter(tag=tag) except Tag.DoesNotExist: thread_ids = {} - + + threads = [] for thread in thread_ids: threads = STORE.get_thread(list_name, thread.threadid) - - + threads = threads[0:1] + return _search_results_page(request, mlist_fqdn, threads, 'Tag search', page, limit=50) |