diff options
-rw-r--r-- | askbot/views/readers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/views/readers.py b/askbot/views/readers.py index a94ccc2d..268227eb 100644 --- a/askbot/views/readers.py +++ b/askbot/views/readers.py @@ -568,12 +568,12 @@ def question(request, id):#refactor - long subroutine. display question body, an #shared with ... users_count, groups_count = thread.get_sharing_info() shared_users = thread.get_users_shared_with( - max_count=3, + max_count=2, exclude_user=request.user ) sharing_info = { 'users': shared_users, - 'groups': thread.get_groups_shared_with(max_count=3), + 'groups': thread.get_groups_shared_with(max_count=2), 'more_users_count': max(0, users_count - 3), 'more_groups_count': max(0, groups_count - 3) } |