diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-11-30 18:53:43 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-11-30 18:53:43 +0100 |
commit | 552582410df622d58da330ea712e83f1fa775c9b (patch) | |
tree | b75c51ae356609eae1da65c531b0edc0baf5befd /hyperkitty/lib/mailman.py | |
parent | de5710edeb34e9433f76a1ccd6f65ab144f373d2 (diff) | |
download | hyperkitty-552582410df622d58da330ea712e83f1fa775c9b.tar.gz hyperkitty-552582410df622d58da330ea712e83f1fa775c9b.tar.xz hyperkitty-552582410df622d58da330ea712e83f1fa775c9b.zip |
Don't use the search engine to display a user's posts
Diffstat (limited to 'hyperkitty/lib/mailman.py')
-rw-r--r-- | hyperkitty/lib/mailman.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/lib/mailman.py b/hyperkitty/lib/mailman.py index 3e47e77..0e940ee 100644 --- a/hyperkitty/lib/mailman.py +++ b/hyperkitty/lib/mailman.py @@ -69,8 +69,8 @@ def get_subscriptions(store, client, mm_user): likes, dislikes, _myvote = get_votes(mlist, email_hashes) posts_count = len(email_hashes) cache.set(cache_key, (likes, dislikes, posts_count)) - all_posts_url = "%s?list=%s&query=user_id:%s" % \ - (reverse("search"), mlist, urlquote(mm_user.user_id)) + all_posts_url = "%s?list=%s" % \ + (reverse("user_posts", mm_user.user_id), mlist) likestatus = "neutral" if likes - dislikes >= 10: likestatus = "likealot" |