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

Taxonomy Term Repository: Mention the behaviour when you specify/don't specify a locale when querying #1373

Open
duncanmcclean opened this issue Jun 17, 2024 · 0 comments
Labels
Improvement Improvements to existing pages in the documentation.

Comments

@duncanmcclean
Copy link
Member

This came up during Flat Camp, the docs around querying taxonomy terms need to be updated.

I need to clarify this is completely true before documenting but I believe that...

  • When you query terms without specifying a site or locale, the same terms will be returned multiple times (returned as LocalizedTerm objects). Once for each site.
  • When you query terms with a specified site or locale, you'll only get terms returned for that site.
@duncanmcclean duncanmcclean added the Improvement Improvements to existing pages in the documentation. label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improvements to existing pages in the documentation.
Projects
None yet
Development

No branches or pull requests

1 participant