drupal-graphql / drupal-graphql/graphql

In GraphQL query Filter not able to fiter with Entity reference value

Open
#1,406 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

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
}
}
}
}
}
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.