elgentos / magento2-prismicio

Magento 2 Prismic integration
GNU General Public License v3.0
38 stars 18 forks source link

Document links on index pages don't work #95

Closed sanderjongsma closed 1 year ago

sanderjongsma commented 1 year ago

Without this change the links for individual items on index pages won't work, like here news.link: image

The resolveRouteUrl function in LinkResolver.php does not have a contentype, so it won't resolve the link with the contenttype attached in front of the uid.

sanderjongsma commented 1 year ago

In previous versions this code was already there, before it was replaced by: return $this->escapeUrl($this->replaceRelativeUrl($context));

JeroenBoersma commented 1 year ago

Ah, yes I saw that, I thought it was intented behavior, but it wasn't.... will merge and release!