I have created Course Type Entity reference . now I want search with title course type filter.
title filter working fine but course type showing internal server error.
{
nodeQuery(filter: {
conditions: [
{ field: "title", value: "%Diploma%", operator: LIKE },
{ field: "fieldCourseType.entity.entityLabel", value: "graduate", operator: LIKE }
]
}) {
entities {
... on NodeCourses {
title
body {
value
}
fieldCourseType {
entity {
entityId
entityLabel
}
}
}
}
}
}
I have created Course Type Entity reference . now I want search with title course type filter. title filter working fine but course type showing internal server error. { nodeQuery(filter: { conditions: [ { field: "title", value: "%Diploma%", operator: LIKE }, { field: "fieldCourseType.entity.entityLabel", value: "graduate", operator: LIKE }
}) { entities { ... on NodeCourses { title body { value } fieldCourseType { entity { entityId entityLabel } } } } } }