Commit afaccac1 authored by Rachana's avatar Rachana

Fetching blog pages grp wide

parent 8a37fc6a
......@@ -1756,7 +1756,7 @@ def group_dashboard(request, group_id=None):
}).sort('created_at', -1)
if request.user.id:
blog_pages = node_collection.find({'member_of':page_gst._id, 'created_by': int(request.user.id),
'type_of': blogpage_gst._id})
'type_of': blogpage_gst._id, 'group_set': group_obj._id})
for each in existing_forums:
temp_forum = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment