[Vtigercrm-commits] [vtiger-commits] r4803 - /vtigercrm/trunk/modules/Contacts/Contact.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 31 02:04:09 EST 2006


Author: saraj
Date: Fri Mar 31 00:04:04 2006
New Revision: 4803

Log:
variable list_link_field has been included

Modified:
    vtigercrm/trunk/modules/Contacts/Contact.php

Modified: vtigercrm/trunk/modules/Contacts/Contact.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/Contact.php (original)
+++ vtigercrm/trunk/modules/Contacts/Contact.php Fri Mar 31 00:04:04 2006
@@ -69,7 +69,8 @@
 	
 	var $sortby_fields = Array('lastname','firstname','title','email','phone','smownerid');
 
-	
+	var $list_link_field= 'lastname';
+
 	// This is the list of fields that are in the lists.
 	var $list_fields = Array(
 	'Last Name' => Array('contactdetails'=>'lastname'),
@@ -81,15 +82,37 @@
 	'Assigned To' => Array('crmentity'=>'smownerid')
 	);
 
-	var $range_fields = Array(                                                                                                 'first_name',                                                                                                              'last_name',                                                                                                               'primary_address_city',                                                                                                    'account_name',                                                                                                            'account_id',                                                                                                              'id',                                                                                                                      'email1',                                                                                                                  'salutation',                                                                                                              'title',                                                                                                                   'phone_mobile',                                                                                                            'reports_to_name',                                                                                                         'primary_address_street',                                                                                                  'primary_address_city',                                                                                                    'primary_address_state',                                                                                                   'primary_address_postalcode',                                                                                              'primary_address_country',                                                                                                 'alt_address_city',                                                                                                        'alt_address_street',                                                                                                      'alt_address_city',                                                                                                        'alt_address_state',                                                                                                       'alt_address_postalcode',                                                                                                  'alt_address_country',
-	'office_phone',
-	'home_phone',
-	'other_phone',
-	'fax',
-	'department',
-	'birthdate',
-	'assistant_name',
-	'assistant_phone');
+	var $range_fields = Array(
+		'first_name',
+		'last_name',
+		'primary_address_city',
+		'account_name',     
+		'account_id',
+		'id',   
+		'email1',
+		'salutation',
+		'title',   
+		'phone_mobile',
+		'reports_to_name',
+		'primary_address_street',     
+		'primary_address_city',  
+		'primary_address_state', 
+		'primary_address_postalcode',  
+		'primary_address_country',    
+		'alt_address_city',     
+		'alt_address_street',       
+		'alt_address_city',  
+		'alt_address_state',    
+		'alt_address_postalcode',     
+		'alt_address_country',
+		'office_phone',
+		'home_phone',
+		'other_phone',
+		'fax',
+		'department',
+		'birthdate',
+		'assistant_name',
+		'assistant_phone');
 
 	
 	var $list_fields_name = Array(





More information about the vtigercrm-commits mailing list