Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
I am writing a custom component for searching tasks, I've added search filters to the search like:
filter.addCondition("procVar.CompanyName", Operator.EQUALS, companyName, Connective.AND);
when there is exact match, the search results are correct, however, when there is no match for the filters,
the search returns all tasks, it seems never return null or no result.
how to return no results if there is no match for the criteria?
Silly me, it was using another filter to do the search.