[Vtigercrm-commits] [vtiger-commits] r10177 - /vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Feb 12 07:08:15 EST 2007
Author: jerrydgeorge
Date: Mon Feb 12 05:07:50 2007
New Revision: 10177
Log:
Salutation added in export query.
Fixes #2736
Modified:
vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
Modified: vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/Contacts.php Mon Feb 12 05:07:50 2007
@@ -669,7 +669,7 @@
$sql = getPermittedFieldsQuery("Contacts", "detail_view");
$fields_list = getFieldsListFromQuery($sql);
- $query = "SELECT $fields_list, vtiger_contactgrouprelation.groupname as 'Assigned To Group'
+ $query = "SELECT vtiger_contactdetails.salutation as 'Salutation',$fields_list, vtiger_contactgrouprelation.groupname as 'Assigned To Group'
FROM vtiger_contactdetails
inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_contactdetails.contactid
LEFT JOIN vtiger_users ON vtiger_crmentity.smownerid=vtiger_users.id and vtiger_users.status='Active'
More information about the vtigercrm-commits
mailing list