[Vtigercrm-commits] [vtiger-commits] r4826 - /vtigercrm/branches/4.2_postgresql_integration/modules/Potentials/Opportunity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 31 20:48:29 EST 2006
Author: allanbush
Date: Fri Mar 31 18:48:18 2006
New Revision: 4826
Log:
Added more select aliases for export links. Refs #17.
Modified:
vtigercrm/branches/4.2_postgresql_integration/modules/Potentials/Opportunity.php
Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Potentials/Opportunity.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Potentials/Opportunity.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Potentials/Opportunity.php Fri Mar 31 18:48:18 2006
@@ -312,8 +312,8 @@
if($this->checkIfCustomTableExists())
{
$query = $this->constructCustomQueryAddendum() .", potential.*,
- account.accountname account_name,
- users.user_name assigned_user_name
+ account.accountname AS account_name,
+ users.user_name AS assigned_user_name
FROM potential
INNER JOIN crmentity
ON crmentity.crmid=potential.potentialid
@@ -325,8 +325,8 @@
{
$query = "SELECT
potential.*,
- account.accountname account_name,
- users.user_name assigned_user_name
+ account.accountname AS account_name,
+ users.user_name AS assigned_user_name
FROM potential inner join crmentity on crmentity.crmid=potential.potentialid LEFT JOIN users
ON crmentity.smcreatorid=users.id
LEFT JOIN account on potential.accountid=account.accountid LEFT JOIN potentialscf on potentialscf.potentialid=potential.potentialid where crmentity.deleted=0 ";
More information about the vtigercrm-commits
mailing list