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

fix(query): fallback to default locale if query has no filter on _locale #1748

Merged
merged 4 commits into from
Dec 14, 2022

Conversation

farnabaz
Copy link
Member

Contents with same _path and different locales should exist in the Index

πŸ”— Linked issue

resolves #1737

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Contents with same `_path` and different locales should exist in the Index
@netlify
Copy link

netlify bot commented Dec 13, 2022

βœ… Deploy Preview for nuxt-content ready!

Name Link
πŸ”¨ Latest commit 0a7b13a
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/6399bd5a70a4480008d28888
😎 Deploy Preview https://deploy-preview-1748--nuxt-content.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@farnabaz farnabaz changed the title fix(query): keep track of all contents in the Index fix(query): fallback to default locale if query has not filter on _locale Dec 14, 2022
@farnabaz farnabaz changed the title fix(query): fallback to default locale if query has not filter on _locale fix(query): fallback to default locale if query has no filter on _locale Dec 14, 2022
@farnabaz
Copy link
Member Author

Merging to test on edge

@farnabaz farnabaz merged commit 90b358a into main Dec 14, 2022
@farnabaz farnabaz deleted the fix/content-index branch December 14, 2022 12:23
@farnabaz farnabaz mentioned this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContentQuery locale does not work
1 participant