Hi,
I want to add a condition(filter ) in the SELECT sql query written for the list view page. But I was not able to find the file where the sql SELECT query is written. Please guide me .
Thanks,
Prajeesh
Hi,
I want to add a condition(filter ) in the SELECT sql query written for the list view page. But I was not able to find the file where the sql SELECT query is written. Please guide me .
Thanks,
Prajeesh
The sql query is defined into function create_new_list_query at data/SugarBean.php
If your module is a custom one you can feel free to implement such function into module class, but if your module is a built in one so you should need to create a custom controller to override the $this->bean.
Best regards
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks