dionarodrigues/iceberg-gatsby-multilang

Paginated blog posts list routes to homepage when language is changed

Opened this issue · 0 comments

The Starter sample contains five blog items which make two pages. When I am on page 1, I can switch between languages and remain on the same page, which is correct. When I am on page 2 and switch to another language, I am routed to the homepage, which is not user-intuitive.
It seems that the Starter requires that a blog post exists in every site language and it sorts them by date, so pagination rules should allow matching the pages.