[Vtigercrm-commits] [vtiger development] #7645: Export accounts with MemberOf search restriction

vtiger development vtiger-tickets at trac.vtiger.com
Fri Feb 15 11:15:30 PST 2013


#7645: Export accounts with MemberOf search restriction
-----------------------+----------------------------------------------------
 Reporter:  joebordes  |       Owner:  developer               
     Type:  defect     |      Status:  new                     
 Priority:  major      |   Milestone:  6.0.0                   
Component:  vtigercrm  |     Version:  5.4.0                   
 Severity:  Medium     |    Keywords:  export member of account
-----------------------+----------------------------------------------------
 From (at least) version 5.2.0 to 6.0.0EA this is reproducible.

 - create a filter on accounts with the "member of" field visible

 - do a basic search on that field

 - click on export and try to export using the search criteria

 - you get an error due to incorrect export query

 - this will also happen doing the search using advanced search

 This is due to the introduction of the query generator which constructs
 the SQL differently from the create_export_query() method in Accounts.php

 The attached patch fixes the problem by introducing an additional join on
 the export query. I am almost positive that the vtiger_account2 join that
 is there can be eliminated but I prefer to leave it in case I'm wrong.

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



More information about the vtigercrm-commits mailing list