Skip to content

Requesting a draft sends it only in the primary language #108

@pablofernandezgh

Description

@pablofernandezgh

When requesting a draft, I only see it in the primary language of my website. According to the docs, when setting a draftId the criteria gets ignored. Then how am I supposed to get this draft in a different locale ?

Here's my query

return [
    'class' => EntryResource::class,
    'criteria' => ['section' => 'homepageAds', 'site' => $site],
    'paginate' => false,
    'draftId' => $draftId,
    'transformer' => new HomepageAdsTransformer($version)
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions