[Vtigercrm-commits] [vtiger-commits] r4898 - /vtigercrm/trunk/modules/CustomView/CustomView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 5 05:41:03 EDT 2006
Author: saraj
Date: Wed Apr 5 03:40:54 2006
New Revision: 4898
Log:
query has been changed to get groupname and username in list view query
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 03:40:54 2006
@@ -1135,17 +1135,17 @@
$listviewquery = substr($listquery, strpos($listquery,'from'),strlen($listquery));
if($module == "Activities" || $module == "Emails")
{
- $query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,activity.* ".$listviewquery;
+ $query = "select groups.groupname ,users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,activity.* ".$listviewquery;
}else if($module == "Notes")
{
- $query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,notes.* ".$listviewquery;
+ $query = "select groups.groupname ,users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,notes.* ".$listviewquery;
}
else if($module == "Products")
{
- $query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,products.* ".$listviewquery;
+ $query = "select groups.groupname ,users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid,products.* ".$listviewquery;
}else
{
- $query = "select ".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid ".$listviewquery;
+ $query = "select groups.groupname ,users.user_name,".$this->getCvColumnListSQL($viewid)." ,crmentity.crmid ".$listviewquery;
}
$stdfiltersql = $this->getCVStdFilterSQL($viewid);
$advfiltersql = $this->getCVAdvFilterSQL($viewid);
More information about the vtigercrm-commits
mailing list