[Vtigercrm-commits] [Vtiger development] #8642: bug on listview search and send email

Vtiger development vtiger-tickets at trac.vtiger.com
Thu Oct 15 08:24:17 GMT 2015


#8642: bug on listview search and send email
-----------------------+-------------------------
 Reporter:  lajeeshk   |       Owner:  developer
     Type:  defect     |      Status:  new
 Priority:  blocker    |   Milestone:  Unassigned
Component:  vtigercrm  |     Version:  6.3.0
 Severity:  High       |  Resolution:
 Keywords:             |
-----------------------+-------------------------

Comment (by lajeeshk):

 fixed the issue
 The reason is missing  "AND" operator in query


 {{{
 modules/CustomView/models/Record.php around line 187

         $searchParams = $this->get('search_params');
         if(empty($searchParams)) {
             $searchParams = array();
         }
                 //added by lajeesh to fix email issue
                 $glue = "";
         if(count($queryGenerator->getWhereFields()) > 0 &&
 (count($searchParams[0])) > 0) {
             $glue = QueryGenerator::$AND;
         }

         $transformedSearchParams =
 Vtiger_Util_Helper::transferListSearchParamsToFilterCondition($searchParams,
 $moduleModel);
 $queryGenerator->parseAdvFilterList($transformedSearchParams,$glue);
 }}}

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8642#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list