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

Translations interface only fetches first 100 languages #6698

Closed
rijkvanzanten opened this issue Jul 7, 2021 · 0 comments · Fixed by #6800
Closed

Translations interface only fetches first 100 languages #6698

rijkvanzanten opened this issue Jul 7, 2021 · 0 comments · Fixed by #6800
Assignees
Labels
Milestone

Comments

@rijkvanzanten
Copy link
Member

Describe the Bug

The translations interface relies on the default API params for fetching the available languages, which also means that limit is set to the default 100. When your languages collection has over a 100 languages in it, the translations interface will only show the first 100.

const response = await api.get(`/items/${languagesCollection.value}`, { params: { fields } });

To Reproduce

Add a translations field, and add 100+ items in the languages table

What version of Directus are you using?

v9.0.0-rc.83

What version of Node.js are you using?

16.4.0

What database are you using?

Postgres 13

What browser are you using?

Safari 14.0.3

What operating system are you using?

macOS Big Sur

How are you deploying Directus?

locally

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.

1 participant