[Vtigercrm-commits] [vtiger-commits] r7767 - /vtigercrm/trunk/modules/Reports/ReportRun.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 07:14:12 EDT 2006
Author: richie
Date: Tue Jul 4 05:14:07 2006
New Revision: 7767
Log:
related to field of HelpDesk in Reports has been fixed.Fixes #1437
Modified:
vtigercrm/trunk/modules/Reports/ReportRun.php
Modified: vtigercrm/trunk/modules/Reports/ReportRun.php
==============================================================================
--- vtigercrm/trunk/modules/Reports/ReportRun.php (original)
+++ vtigercrm/trunk/modules/Reports/ReportRun.php Tue Jul 4 05:14:07 2006
@@ -80,9 +80,10 @@
$fieldname = $selectedfields[3];
if($fieldname == "parent_id")
{
- if($this->primarymodule == "HelpDesk")
+ if($this->primarymodule == "HelpDesk" && $selectedfields[0] == "vtiger_crmentityRelHelpDesk")
{
$querycolumn = "case vtiger_crmentityRelHelpDesk.setype when 'Accounts' then vtiger_accountRelHelpDesk.accountname when 'Contacts' then vtiger_contactdetailsRelHelpDesk.lastname End"." '".$selectedfields[2]."', vtiger_crmentityRelHelpDesk.setype 'Entity_type'";
+ return $querycolumn;
}
if($this->primarymodule == "Products" || $this->secondarymodule == "Products")
{
More information about the vtigercrm-commits
mailing list