[Vtigercrm-commits] [vtiger-commits] r11120 - /vtigercrm/branches/5.0.3/include/utils/SearchUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 29 06:51:25 EDT 2007


Author: richie
Date: Tue May 29 04:51:17 2007
New Revision: 11120

Log:
In the advanced search, Contact Image is removed

Modified:
    vtigercrm/branches/5.0.3/include/utils/SearchUtils.php

Modified: vtigercrm/branches/5.0.3/include/utils/SearchUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/SearchUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/SearchUtils.php Tue May 29 04:51:17 2007
@@ -460,6 +460,11 @@
 			$sql.= " and vtiger_field.fieldname not in('notime','duration_minutes','duration_hours')";
 		}
 
+		if($tabid == 4)
+		{
+			$sql.= " and vtiger_field.fieldlabel != 'Contact Image'";
+		}
+
 		$sql.= "group by vtiger_field.fieldlabel order by block,sequence";
 	}
 	else
@@ -482,6 +487,12 @@
 		{
 			$sql.= " and vtiger_field.fieldname not in('notime','duration_minutes','duration_hours')";
 		}
+		
+		if($tabid == 4)
+		{
+			$sql.= " and vtiger_field.fieldlabel != 'Contact Image'";
+		}	
+		
 		$sql .= " group by vtiger_field.fieldlabel order by block,sequence";
 
 	}





More information about the vtigercrm-commits mailing list