-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
REST API query using locale=* returns no localized fields at all #9712
Comments
r1tsuu
added a commit
that referenced
this issue
Jan 21, 2025
This issue has been automatically locked. |
🚀 This is included in version v3.19.0 |
kendelljoseph
pushed a commit
that referenced
this issue
Feb 21, 2025
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Describe the Bug
This was working fine with Payload 2.x but Payload 3.x returns no localized fields values for locale=*. Switching to locale=all returned again all raw field values.
Example request:
http://localhost:3000/cms/api/pages/64f20533c977b00e9b704ae8?locale=*&fallback-locale=none&depth=0
I had a look at the source code and '*' gets converted to 'all' normally. I would not find any obvious bugs.
Link to the code that reproduces this issue
https://github.com/cbratschi/payload
Reproduction Steps
Use REST API with locale=*.
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: