mirror of
https://github.com/directus/directus.git
synced 2026-02-08 20:44:57 -05:00
fix false is proper value (#7796)
This commit is contained in:
@@ -12,7 +12,7 @@ export default function filtersToQuery(filters: readonly Filter[]): { filter: Re
|
||||
value = true;
|
||||
}
|
||||
|
||||
if (!value) continue;
|
||||
if (value === undefined) continue;
|
||||
|
||||
if (field.includes('.')) {
|
||||
let filter: Record<string, any> = { [`_${operator}`]: value };
|
||||
|
||||
Reference in New Issue
Block a user