mirror of
https://github.com/directus/directus.git
synced 2026-01-23 19:18:07 -05:00
@@ -300,7 +300,7 @@ export async function applySearch(
|
||||
function getFilterPath(key: string, value: Record<string, any>) {
|
||||
const path = [key];
|
||||
|
||||
if (Object.keys(value)[0].startsWith('_') === true) {
|
||||
if (typeof Object.keys(value)[0] === 'string' && Object.keys(value)[0].startsWith('_') === true) {
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user