drupal-graphql / drupal-graphql/graphql

How to filter Media types when using mediaQuery?

Open
#1,034 1 comment 0 reactions 0 assignees View on GitHub
3.x question
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

`nodeQuery` can filtered by content type using filter, but same is not applied for `mediaQuery`?

Adding following filter to `mediaQuery(filter: {conditions: {field: "type", value: ["audio"], operator: EQUAL}})` still returns all Media entities for all media types?

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.