[Vtigercrm-developers] Popup fields
Jonathan Sardo
sardoj at gmail.com
Wed Feb 4 15:13:50 GMT 2015
Hi,
I think there is a bug in displaying fields for Popup.
Instead to display fields defined for Popup, Vtiger displays (in a Popup)
fields defined for Related List.
Here the way to fix this bug (file /modules/Vtiger/models/Module.php):
/**
* Function to get popup view fields
*/
public function getPopupViewFieldsList(){
$summaryFieldsList = $this->getSummaryViewFieldsList();
if(count($summaryFieldsList) > 0){
$popupFields = array_keys($summaryFieldsList);
}else{
//$popupFields = array_values($this->getRelatedListFields()); //Replace
this line
*$popupFields = array_values($this->getPopupFields())**; *//By this
one
}
return $popupFields;
}
Cordialement,
Jonathan SARDO
[image: Images intégrées 5]
Tél. 06 99 45 50 47
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150204/3482107b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4223 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150204/3482107b/attachment.png>
More information about the vtigercrm-developers
mailing list