OData - Query requests with two contains doent work
Please find the below query that we are sending from the from fe (react ) when we are trying to search with two text boxes .It doesnt return any result.
However an oData query with two dropdowns / onetextbox and one dropdown works/single textbox works
we suspect that this is due to the fact that two eq /one contains works fine however two contaisn doesnt work
https://locallhost/api/odata/pageoverview?$count=true& $filter=(contains(OccasionName,%27ifrs_17%27)%20and%20contains(Name2,%27Test%27))&$
Update There is a continous URL $ which is this
https://localhost:3333/OverviewItem?$count=true&$filter=(contains(name1,'seek') and contains(name2,'aron') &$orderby=name1 desc,name2 desc &$skip=0&$top=10
On further Research we also find that in Controller which receives value the filter value on queryoptions is mixed up like name1 value is 'aron'instead of 'seek' .Is there any way we can correct this
public IQueryable Get(ODataQueryOptions odata) { //// }