How to use 'Or' expression in custom filter 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 ? 

As per below screenshot , I want to use these 2 filter  auto select on one of the dropdown selection , As per sugar default flow ,  For these 2 fields , 'AND' expression is being used , but i have to use 'OR' expression . 

Below is the code , i used for this : 

File : relate.js 

file : Filtertest.php : 

By using this ,  no filter is working , Below screen is showing : 

...