Commit 0bd551b
committed
fix(content): use contentlet language for relationship hydration instead of session language
When fetching content by inode with depth parameter, the relationship hydration
was using the session/request language (defaulting to language 1) instead of the
actual contentlet's language. This caused relationship fields to return content
in the default language even when viewing a localized version.
Closes #342891 parent 0be9db4 commit 0bd551b
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
0 commit comments