[Vtigercrm-commits] [vtiger-commits] r10972 - /vtigercrm/branches/5.0.3/modules/Settings/PickList.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 22 17:24:03 EDT 2007
Author: richie
Date: Tue May 22 15:23:59 2007
New Revision: 10972
Log:
* Added order by in the query which cause problem after migration, ie., after done the migration Accounts comes as default first module in the array but the fields loaded are potentials, Fixed #3913
Modified:
vtigercrm/branches/5.0.3/modules/Settings/PickList.php
Modified: vtigercrm/branches/5.0.3/modules/Settings/PickList.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/PickList.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/PickList.php Tue May 22 15:23:59 2007
@@ -129,7 +129,7 @@
function getPickListModules()
{
global $adb;
- $query = 'select distinct vtiger_field.fieldname,vtiger_field.tabid,tablabel,uitype from vtiger_field inner join vtiger_tab on vtiger_tab.tabid=vtiger_field.tabid where uitype IN (15,16, 111,33) and vtiger_field.tabid != 29';
+ $query = 'select distinct vtiger_field.fieldname,vtiger_field.tabid,tablabel,uitype from vtiger_field inner join vtiger_tab on vtiger_tab.tabid=vtiger_field.tabid where uitype IN (15,16, 111,33) and vtiger_field.tabid != 29 order by vtiger_field.tabid ASC';
$result = $adb->query($query);
while($row = $adb->fetch_array($result))
{
More information about the vtigercrm-commits
mailing list