Skip to content
Snippets Groups Projects
Commit 442e5485 authored by Prasad's avatar Prasad
Browse files

Allow DETAILVIEWTAB links to be pulled from vtiger_links.

parent 9b95c52a
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,13 @@ class Vtiger_DetailView_Model extends Vtiger_Base_Model {
$linkModelList[$relatedLink->getType()][] = $relatedLink;
}
$detailViewBasicTablinks = $linkModelListDetails['DETAILVIEWTAB'];
if(!empty($detailViewBasicTablinks)) {
foreach($detailViewBasicTablinks as $linkModel) {
$linkModelList['DETAILVIEWTAB'][] = $linkModel;
}
}
$widgets = $this->getWidgets();
foreach($widgets as $widgetLinkModel) {
$linkModelList['DETAILVIEWWIDGET'][] = $widgetLinkModel;
......
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