[Vtigercrm-commits] [vtiger-commits] r5581 - /vtigercrm/trunk/include/utils/SearchUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 28 07:51:47 EDT 2006
Author: saraj
Date: Fri Apr 28 05:51:32 2006
New Revision: 5581
Log:
Related to field removed from advance search
Modified:
vtigercrm/trunk/include/utils/SearchUtils.php
Modified: vtigercrm/trunk/include/utils/SearchUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/SearchUtils.php (original)
+++ vtigercrm/trunk/include/utils/SearchUtils.php Fri Apr 28 05:51:32 2006
@@ -390,10 +390,13 @@
}
$fieldlabel1 = str_replace(" ","_",$fieldlabel);
- if ($i==0)
- $OPTION_SET .= "<option value=\'".$fieldtablename.".".$fieldcolname."\' selected>".$fieldlabel."</option>";
- else
- $OPTION_SET .= "<option value=\'".$fieldtablename.".".$fieldcolname."\'>".$fieldlabel."</option>";
+ if($fieldlabel != 'Related to')
+ {
+ if ($i==0)
+ $OPTION_SET .= "<option value=\'".$fieldtablename.".".$fieldcolname."\' selected>".$fieldlabel."</option>";
+ else
+ $OPTION_SET .= "<option value=\'".$fieldtablename.".".$fieldcolname."\'>".$fieldlabel."</option>";
+ }
}
$log->debug("Exiting getAdvSearchfields method ...");
return $OPTION_SET;
More information about the vtigercrm-commits
mailing list