mirror of
https://github.com/directus/directus.git
synced 2026-01-29 13:18:25 -05:00
fix for filtering nested M2M relations (#11159)
This commit is contained in:
@@ -305,7 +305,7 @@ export function applyFilter(
|
||||
);
|
||||
}
|
||||
|
||||
if (relationType === 'm2o' || subQuery === true) {
|
||||
if (relationType === 'm2o' || subQuery === true || (relationType === 'o2m' && parentAlias !== undefined)) {
|
||||
let parent: string;
|
||||
|
||||
if (relationType === 'm2o') {
|
||||
|
||||
Reference in New Issue
Block a user