[Vtigercrm-commits] [vtiger-commits] r7743 - /customerportal/trunk/Tickets/TicketSearch.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jul 3 15:47:04 EDT 2006
Author: saraj
Date: Mon Jul 3 13:47:01 2006
New Revision: 7743
Log:
* Added prefix vtiger_ with the table name
Modified:
customerportal/trunk/Tickets/TicketSearch.php
Modified: customerportal/trunk/Tickets/TicketSearch.php
==============================================================================
--- customerportal/trunk/Tickets/TicketSearch.php (original)
+++ customerportal/trunk/Tickets/TicketSearch.php Mon Jul 3 13:47:01 2006
@@ -15,25 +15,25 @@
$match_condition = $_REQUEST['search_match'];
if(trim($_REQUEST['search_ticketid']) != '')
{
- $where .= "troubletickets.ticketid = '".addslashes($_REQUEST['search_ticketid'])."'&&&";
+ $where .= "vtiger_troubletickets.ticketid = '".addslashes($_REQUEST['search_ticketid'])."'&&&";
}
if(trim($_REQUEST['search_title']) != '')
{
- //$where .= "troubletickets.title = '".$_REQUEST['search_title']."'&&&";
- $where .= "troubletickets.title = like '%".addslashes(trim($_REQUEST['search_title']))."%'&&&";
+ //$where .= "vtiger_troubletickets.title = '".$_REQUEST['search_title']."'&&&";
+ $where .= "vtiger_troubletickets.title = like '%".addslashes(trim($_REQUEST['search_title']))."%'&&&";
}
if(trim($_REQUEST['search_ticketstatus']) != '')
{
- $where .= "troubletickets.status = '".$_REQUEST['search_ticketstatus']."'&&&";
+ $where .= "vtiger_troubletickets.status = '".$_REQUEST['search_ticketstatus']."'&&&";
}
if(trim($_REQUEST['search_ticketpriority']) != '')
{
- $where .= "troubletickets.priority = '".$_REQUEST['search_ticketpriority']."'&&&";
+ $where .= "vtiger_troubletickets.priority = '".$_REQUEST['search_ticketpriority']."'&&&";
}
if(trim($_REQUEST['search_ticketcategory']) != '')
{
- $where .= "troubletickets.category = '".$_REQUEST['search_ticketcategory']."'&&&";
+ $where .= "vtiger_troubletickets.category = '".$_REQUEST['search_ticketcategory']."'&&&";
}
$where = trim($where,'&&&');
More information about the vtigercrm-commits
mailing list