[Vtigercrm-commits] [vtiger-commits] r7786 - /vtigercrm/trunk/include/utils/SearchUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 10:26:19 EDT 2006
Author: saraj
Date: Tue Jul 4 08:26:15 2006
New Revision: 7786
Log:
added prefix to table name
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 Tue Jul 4 08:26:15 2006
@@ -557,18 +557,18 @@
$url_string .="&Fields".$i."=".$tab_col."&Condition".$i."=".$srch_cond."&Srch_value".$i."=".$srch_val;
if($tab_col == "vtiger_crmentity.smownerid")
{
- $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'users.user_name')." or";
- $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'groups.groupname')." )".$matchtype;
+ $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'vtiger_users.user_name')." or";
+ $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'vtiger_groups.groupname')." )".$matchtype;
}
elseif($tab_col == "vtiger_activity.status")
{
- $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'activity.status')." or";
- $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'activity.eventstatus')." )".$matchtype;
+ $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'vtiger_activity.status')." or";
+ $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'vtiger_activity.eventstatus')." )".$matchtype;
}
elseif($tab_col == "vtiger_cntactivityrel.contactid")
{
- $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'contactdetails.firstname')." or";
- $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'contactdetails.lastname')." )".$matchtype;
+ $adv_string .= " (".getSearch_criteria($srch_cond,$srch_val,'vtiger_contactdetails.firstname')." or";
+ $adv_string .= " ".getSearch_criteria($srch_cond,$srch_val,'vtiger_contactdetails.lastname')." )".$matchtype;
}
elseif(in_array($column_name,$column_array))
{
More information about the vtigercrm-commits
mailing list