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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 11:26:52 EDT 2007


Author: saraj
Date: Wed May 23 09:26:46 2007
New Revision: 10988

Log:
check added to skip update_log field from date criteria

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 Wed May 23 09:26:46 2007
@@ -557,7 +557,7 @@
 	global $log;
 	$log->debug("Entering getSearch_criteria(".$criteria.",".$searchstring.",".$searchfield.") method ...");
 	$searchstring = ltrim(rtrim($searchstring));
-	if($searchfield == "vtiger_crmentity.modifiedtime" || $searchfield == "vtiger_crmentity.createdtime" || stristr($searchfield,'date'))
+	if(($searchfield != "vtiger_troubletickets.update_log") && ($searchfield == "vtiger_crmentity.modifiedtime" || $searchfield == "vtiger_crmentity.createdtime" || stristr($searchfield,'date')))
 	{
 		list($sdate,$stime) = split(" ",$searchstring);
 		if($stime !='')





More information about the vtigercrm-commits mailing list