Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work offset query for related collection in graphql #12007

Closed
3 tasks done
kuzmi4 opened this issue Mar 7, 2022 · 0 comments · Fixed by #12076
Closed
3 tasks done

Doesnt work offset query for related collection in graphql #12007

kuzmi4 opened this issue Mar 7, 2022 · 0 comments · Fixed by #12076
Assignees
Labels

Comments

@kuzmi4
Copy link

kuzmi4 commented Mar 7, 2022

Preflight Checklist

Describe the Bug

Offset params for related collection does not affect the result

The screenshot shows an example of the problem.

Queried "content" collecting as related as One2Many with "book" collection and I expect offset to be applied to the output of the "content" collection.

изображение

To Reproduce

Create collections "One" and "Two", and in "One" make One2Many relation with "Two", add some data, and try make graphql request like on screenshot

Errors Shown

Wrong result

What version of Directus are you using?

9.6.0

What version of Node.js are you using?

v16.14.0

What database are you using?

Postgres 13

What browser are you using?

Firefox

What operating system are you using?

Linux

How are you deploying Directus?

Kubernetes

@licitdev licitdev self-assigned this Mar 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants