This question has been flagged

Hello

I Have created search view for my custom model.

I want to filter data based on user input. Ex. if user types 200000 then all the records containing price <= 200000 should be filtered.

I know we can do this from front end using add custom filter.But i want to apply filter using code in xml .

Though my condition for search filter will remain same.Its just the value that user will be inputting in order to filter out data will be changing.

Can anyone please suggest me how this can be achieved ?

Avatar
Discard