I'm using react-admin to manage the admin dashboard for my firebase API. Currently I'm trying to add multiple filters to my admin dashboard which include search, verified email and others. I've written multiple filters as such
const UserFilter = (props) => (
<Filter {...props}>
<TextInput label="Search" source="phoneNumber" alwaysOn />
<BooleanInput label="Email Verified" source="emailVerified" alwaysOn/>
</Filter>
);
and using it as
<List {...props} filters={<UserFilter />} />
But when I'm trying to filter, then these filters are not applied on top of each other. They are applied as OR. So if I use two filters the results are those with either one of those and both. I want the filters to be applied as AND. How do I do it?