This PR fix the current behavior that returns all data when the search criteria lead to no matching results. Currently if the matching ids count is 0 no where clause is added.
This PR add a clause that will never matches in that case to return no data.
With the fix when the search doesn't matches, we have an empty list:
This PR fix the current behavior that returns all data when the search criteria lead to no matching results. Currently if the matching ids count is 0 no where clause is added.
This PR add a clause that will never matches in that case to return no data.
With the fix when the search doesn't matches, we have an empty list: