[Vtigercrm-commits] [vtiger-commits] r11107 - /vtigercrm/branches/5.0.3/modules/Accounts/Accounts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 28 16:10:45 EDT 2007


Author: richie
Date: Mon May 28 14:10:42 2007
New Revision: 11107

Log:
* Moved the cntactivityrel table join before seactivityrel as we need the seactivityrel.activityid to get the related to (account name, etc)

Modified:
    vtigercrm/branches/5.0.3/modules/Accounts/Accounts.php

Modified: vtigercrm/branches/5.0.3/modules/Accounts/Accounts.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Accounts/Accounts.php (original)
+++ vtigercrm/branches/5.0.3/modules/Accounts/Accounts.php Mon May 28 14:10:42 2007
@@ -247,8 +247,8 @@
 		else
 			$returnset = '&return_module=Accounts&return_action=CallRelatedList&return_id='.$id;
 
-		$query = "SELECT vtiger_activity.*,
-			vtiger_seactivityrel.*, vtiger_cntactivityrel.*,vtiger_contactdetails.lastname,
+		$query = "SELECT vtiger_activity.*, vtiger_cntactivityrel.*,
+			vtiger_seactivityrel.*, vtiger_contactdetails.lastname,
 			vtiger_crmentity.crmid, vtiger_crmentity.smownerid,
 			vtiger_crmentity.modifiedtime,
 			case when (vtiger_users.user_name not like '') then vtiger_users.user_name else vtiger_groups.groupname end as user_name,





More information about the vtigercrm-commits mailing list