[Vtigercrm-commits] [vtiger-commits] r10962 - in /vtigercrm/branches/5.0.3/modules/Migration/DBChanges: 42P2_to_50.php 503rc2_to_503.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 22 09:43:23 EDT 2007


Author: richie
Date: Tue May 22 07:43:13 2007
New Revision: 10962

Log:
* Fixed the issue in migration ie., because of one extra space in End Time, this field comes twice in columns list in custom view creation, Fixed #3858

Modified:
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/42P2_to_50.php
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php

Modified: vtigercrm/branches/5.0.3/modules/Migration/DBChanges/42P2_to_50.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/DBChanges/42P2_to_50.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/DBChanges/42P2_to_50.php Tue May 22 07:43:13 2007
@@ -3801,7 +3801,7 @@
 Execute("update vtiger_tab set name='Calendar',tablabel='Calendar' where tabid=9");
 
 $newfieldid = $conn->getUniqueID("vtiger_field");
-$query = "insert into vtiger_field values (9, $newfieldid, 'time_end','vtiger_activity', 1,'2','time_end','End  Time',1,0,0,100,6,19,3,'T~O',1,null,'BAS')";
+$query = "insert into vtiger_field values (9, $newfieldid, 'time_end','vtiger_activity', 1,'2','time_end','End Time',1,0,0,100,6,19,3,'T~O',1,null,'BAS')";
 Execute($query);
 populateFieldForSecurity('9',$newfieldid);
 

Modified: vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php Tue May 22 07:43:13 2007
@@ -299,6 +299,8 @@
 //Move all the Potential custom fields into corresponding block(2) as they are placed in description block
 ExecuteQuery("update vtiger_field set block=(select blockid from vtiger_blocks where tabid=2 and blocklabel='LBL_CUSTOM_INFORMATION') where tabid=2 and fieldname like 'cf_%'");
 
+//Calendar - End Time fieldlabel has one extra space so that it comes twice in columns list in customview creation
+ExecuteQuery("update vtiger_field set fieldlabel='End Time' where tabid=9 and fieldname='time_end'");
 
 
 





More information about the vtigercrm-commits mailing list