@logic.validate(logic.schema.default_activity_list_schema)
def group_activity_list(context, data_dict):
 _check_access('group_show', context, data_dict)
 model = context['model']
 group_id = data_dict.get('id')
 offset = data_dict.get('offset', 0)
 limit = int(data_dict.get('limit', config.get('ckan.activity_list_limit', 31)))
 group_show = logic.get_action('group_show')
 group_id = group_show(context, {'id': group_id})['id']
 _activity_objects = model.activity.group_activity_list(group_id, limit=limit, offset=offset)
 activity_objects = _filter_activity_by_user(_activity_objects, _activity_stream_get_filtered_users())
 return model_dictize.activity_list_dictize(activity_objects, context)

@ logic . validate ( logic . schema . default_activity_list_schema ) def group_activity_list ( context , data_dict ) : _check_access ( 'group_show' , context , data_dict ) model = context [ 'model' ] group_id = data_dict . get ( 'id' ) offset = data_dict . get ( 'offset' , 0 ) limit = int ( data_dict . get ( 'limit' , config . get ( 'ckan.activity_list_limit' , 31 ) ) ) group_show = logic . get_action ( 'group_show' ) group_id = group_show ( context , { 'id' : group_id } ) [ 'id' ] _activity_objects = model . activity . group_activity_list ( group_id , limit = limit , offset = offset ) activity_objects = _filter_activity_by_user ( _activity_objects , _activity_stream_get_filtered_users ( ) ) return model_dictize . activity_list_dictize ( activity_objects , context )
return a groups activity stream .