[Vtigercrm-commits] [Vtiger development] #8564: Report - Filter WHERE generation Module Potentials

Vtiger development vtiger-tickets at trac.vtiger.com
Tue Jun 2 15:11:27 GMT 2015


#8564: Report - Filter WHERE generation Module Potentials
------------------------+------------------------
 Reporter:  gigon       |      Owner:  developer
     Type:  defect      |     Status:  new
 Priority:  unassigned  |  Milestone:  Unassigned
Component:  vtigercrm   |    Version:  6.2.0
 Severity:  Medium      |   Keywords:  Report
------------------------+------------------------
 The generation of Display inside the Potentials Menu is GO.
 But, the same generation inside the REPORTS menu with Potentials Module
 only is NOGO.
 Hereafter the WHERE filter of request
 ...
 WHERE vtiger_potential.potentialid > 0
   AND vtiger_crmentity.deleted=0
   and (( trim(case when (vtiger_usersPotentials.last_name NOT LIKE '')
    then CONCAT(vtiger_usersPotentials.first_name,'
 ',vtiger_usersPotentials.last_name) else vtiger_groupsPotentials.groupname
 end) = 'name surname'
    # AND vtiger_potentialscf.cf_745 = 'MYFILTER-HERE'
    ) )
     AND vtiger_potentialscf.cf_745 = 'MYFILTER-HERE'
 ...
 The last AND of vtiger_potentialscf.cf_745 must be placed at the END of
 WHERE conditions, the genereted ligne with # isn't at the right place...
 It's working well at the END. Must be coded like this.

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8564>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list