Skip to content
Snippets Groups Projects
Commit 502fb3bd authored by Uma's avatar Uma
Browse files

Fix for webservice tags retrieval for record

parent 9804f787
No related branches found
No related tags found
No related merge requests found
......@@ -910,8 +910,17 @@ class CRMEntity {
}
}
}
//adding tags for vtws_retieve
$tagsList = Vtiger_Tag_Model::getAllAccessible($current_user->id, $module, $record);
$tags = array();
foreach($tagsList as $tag) {
$tags[] = $tag->getName();
}
$this->column_fields['tags'] = (count($tags) > 0) ? implode(',',$tags) : '';
$this->column_fields['record_id'] = $record;
$this->id = $record;
$this->column_fields['record_module'] = $module;
$this->column_fields->startTracking();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment