You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix this, we need to run two queries; one for the original locale, followed by the fallback locale but excluding the already found document ID's using the first query.
Maybe we can use \Elgentos\PrismicIO\Model\Api::getDocumentByUid
The text was updated successfully, but these errors were encountered:
Right now, the sitemap functionality does not fetch documents from the locale fallback if one is configured;
https://github.com/elgentos/magento2-prismicio/blob/master/Model/ItemProvider/PrismicPages.php#L73
To fix this, we need to run two queries; one for the original locale, followed by the fallback locale but excluding the already found document ID's using the first query.
Maybe we can use
\Elgentos\PrismicIO\Model\Api::getDocumentByUid
The text was updated successfully, but these errors were encountered: