How to use Or condition for two different field in custom filter ?

Hi There,

I am looking to implement custom filters with 'OR' expression for two different field , As in sugar we can not use 'OR' expression for two different fields , it's working for same field. 

How can i implement it for two different fields ? 

Parents Reply Children
  • The example André gave is accurate. 

    Can you elaborate on what you mean by the filter not working? What exactly is not working? Is it not showing up in the list of filters? Is the criteria not being respected? Please share as much detail as possible and code snippets where appropriate.

    Also, I am a bit confused as to what you are trying to do as filters should be defined in PHP, per André's example, but you are indicating you did something in relate.js. 

    Please clarify.