[Vtigercrm-commits] [vtiger-commits] r10894 - /vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 13 11:29:42 EDT 2007
Author: richie
Date: Sun May 13 09:29:37 2007
New Revision: 10894
Log:
* Fixed the issue in product active and handler fields in advance filter, Fixed #3699
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 Sun May 13 09:29:37 2007
@@ -951,6 +951,18 @@
{
$value = $tablename.".".$fieldname.$this->getAdvComparator($comparator,$this->getProductId($value),$datatype);
}
+ else if($fieldname == "handler")
+ {
+ $value = "vtiger_users.user_name".$this->getAdvComparator($comparator,$value,$datatype);
+ }
+ else if($fieldname == "discontinued")
+ {
+ if($value == 'yes')
+ $value=1;
+ else if($value == 'no')
+ $value=0;
+ $value = $tablename.".".$fieldname.$this->getAdvComparator($comparator,$value,$datatype);
+ }
else if($fieldname == "salesorderid")
{
$value = $tablename.".".$fieldname.$this->getAdvComparator($comparator,$this->getSoId($value),$datatype);
More information about the vtigercrm-commits
mailing list