[Vtigercrm-commits] [vtiger-commits] r4912 - /vtigercrm/trunk/modules/CustomView/CustomView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 5 07:45:50 EDT 2006


Author: saraj
Date: Wed Apr  5 05:45:44 2006
New Revision: 4912

Log:
changes made for campaign and vendors modules user and group relation

Modified:
    vtigercrm/trunk/modules/CustomView/CustomView.php

Modified: vtigercrm/trunk/modules/CustomView/CustomView.php
==============================================================================
--- vtigercrm/trunk/modules/CustomView/CustomView.php (original)
+++ vtigercrm/trunk/modules/CustomView/CustomView.php Wed Apr  5 05:45:44 2006
@@ -1143,7 +1143,16 @@
 			else if($module == "Products")
 			{
 				$query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,products.* ".$listviewquery;
-			}else
+			}
+			else if($module == "Campaigns")
+			{
+				$query = "select users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid ".$listviewquery;
+			}
+			else if($module == "Vendors")
+			{
+				$query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid ".$listviewquery;
+			}
+			else
 			{
 				$query = "select groups.groupname ,users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid ".$listviewquery;
 			}





More information about the vtigercrm-commits mailing list