[Vtigercrm-commits] [vtiger-commits] r10565 - /vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 5 10:38:53 EDT 2007
Author: richie
Date: Thu Apr 5 08:38:44 2007
New Revision: 10565
Log:
fix for Date Field is not coming in the Standard Filters of Campaigns. Fixes #3563 --minnie
Modified:
vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php
Modified: vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php (original)
+++ vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php Thu Apr 5 08:38:44 2007
@@ -343,18 +343,17 @@
{
$sql = "select * from vtiger_field inner join vtiger_tab on vtiger_tab.tabid = vtiger_field.tabid ";
$sql.= " where vtiger_field.tabid=".$tabid." and vtiger_field.block in (".$blockids.")
- and (vtiger_field.uitype =5 or vtiger_field.displaytype=2) ";
+ and (vtiger_field.uitype in (5,6,23) or vtiger_field.displaytype=2) ";
$sql.= " order by vtiger_field.sequence";
}
else
{
$profileList = getCurrentUserProfileList();
$sql = "select * from vtiger_field inner join vtiger_tab on vtiger_tab.tabid = vtiger_field.tabid inner join vtiger_profile2field on vtiger_profile2field.fieldid=vtiger_field.fieldid inner join vtiger_def_org_field on vtiger_def_org_field.fieldid=vtiger_field.fieldid ";
- $sql.= " where vtiger_field.tabid=".$tabid." and vtiger_field.block in (".$blockids.") and (vtiger_field.uitype =5 or vtiger_field.displaytype=2)";
+ $sql.= " where vtiger_field.tabid=".$tabid." and vtiger_field.block in (".$blockids.") and (vtiger_field.uitype in (5,6,23) or vtiger_field.displaytype=2)";
$sql.= " and vtiger_profile2field.visible=0";
$sql.= " and vtiger_def_org_field.visible=0 and vtiger_profile2field.profileid in ".$profileList." order by vtiger_field.sequence";
}
-
$result = $adb->query($sql);
More information about the vtigercrm-commits
mailing list