[Vtigercrm-developers] Vtiger 6 - UIType 10 - Additional filters

Jonathan Sardo sardoj at gmail.com
Thu Jan 23 22:33:12 GMT 2014


Hello,

I don't know exactly with Vtiger 6, but with Vtiger 5.4 you have to edit
the function getListQuery() in your file /modules/ModuleName/ModuleName.php
There you can look at URL parameters ($_REQUEST) to know the source module
(eg. Filter records with status 'closed' only if the source module is
Project) and you can custom the SQL query as you want.

Regards,

Jonathan SARDO
[image: Images intégrées 5]
Tél. 06 99 45 50 47


2014/1/23 Richard Hills <richard at tw.co.nz>

> I have a custom module using a uitype 10 relation field.
>
> I want to restrict this fields view of the ticket module so that it will
> only show tickets with a certain status (as example).
>
> Can anyone tell me the method with which this can be handled?
>
> Thanks
>
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZ
> richard at tw.co.nz
> www.technologywise.co.nz
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140123/945660b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4223 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140123/945660b4/attachment.png>


More information about the vtigercrm-developers mailing list