I have a view where I am exposing a filter which is the Price of a product. I want the user to be able to choose the price(filter based on price), So I exposed the filter, then unlocked the operator and all of them are unlocked(operators). Is there a way where I can unlock only a few operators such as “Is less than”, “In Between”, “Is Greater than”. I don’t want the user to be selecting “Is Empty”, “Is not empty”.
Share
This is pretty easy with a custom module and
hook_form_alter():