How to filter view data using custom operator only. I have created one view named demouser.
-Now i want one exposed filter which do not have any input value through user(i.e it should not display text-box when it is exposed to user) Just its label is Usertype.
In the Filter there should be one text box having values Employee and Customer(also let me know how to add these options in the select list). When i choose Employee and say filter it should display all employee list only and vice-versa.
Also i am using users table mail field for filteration, as there is no employee and customer field then how to achieve this. Please let me know in detail the steps i need to follow and files i needed to write as i am new to drupal.
I have tried with views_handler_filter_string but not able to understand how to do it. Please help thanks in advance.