<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://www.openstreetmap.org/relation/1941310" rel="nofollow">https://www.openstreetmap.org/relation/1941310</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">going to: <a href="https://www.openstreetmap.org/relation/1941310" rel="nofollow">https://www.openstreetmap.org/relation/1941310</a><br>
shows the latest version of the relation, 5, but the history navigation has the previous version as 1, and the next version as 5:</p>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/47227325/6ec52a9d-0812-4d0d-b8c8-fcbf673a3a1b">image.png (view on web)</a>
<p dir="auto">going to <a href="https://www.openstreetmap.org/relation/1941310/history/5" rel="nofollow">https://www.openstreetmap.org/relation/1941310/history/5</a><br>
also shows version 5 of the relation, but the history navigation has the previous version as 4, and no next version</p>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/47227325/81f5b3e9-3f9e-4640-93ee-bea7b6d24e0f">image.png (view on web)</a>
<p dir="auto">The second way seems correct, from version 5, the previous should be version 4.</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto">issue seems to be in:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/browse/feature.html.erb">app/views/browse/feature.html.erb</a></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4506">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKMHK2ZYXTOHLXVSVDYRZD5VAVCNFSM6AAAAABCYCSF5SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTMNJRGQYDQNA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMYG7A5DH4K4GXGZW3YRZD5VA5CNFSM6AAAAABCYCSF5SWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH4J3REQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4506</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4506",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4506",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>