<p dir="auto">for <code class="notranslate">/user/<username>/diary/comments</code> pages</p>
<p dir="auto">similar to diary entry and trace pagination</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4239'>https://github.com/openstreetmap/openstreetmap-website/pull/4239</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/commits/a3d723561656d17f15179f8c899989029c1fae37" class="commit-link">a3d7235</a>  Change diary comments pagination to before/after id</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/commits/d1edc502e44ecd02ea73444fe5c6bed990b3fd86" class="commit-link">d1edc50</a>  Refactor diary paging queries</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/commits/0bb53582f88c46006b6c1ce426dfc78b7123fc3f" class="commit-link">0bb5358</a>  Make pagination partial view</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/commits/ef5e04d9b55f3239a5c55c9a8d7d4dd3050c07b8" class="commit-link">ef5e04d</a>  Don't interpolate in pagination partial</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/commits/c64a19408a431cbd274243a4b71bcc7a6da961d1" class="commit-link">c64a194</a>  Combine comments and traces pagination partials</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files">6 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
    (46)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-fb860a130fe8ce948cdb98e2ba4b0c9d947f351dc9a55a12fff9d02ca61b0568">app/views/diary_entries/comments.html.erb</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-aad6c85558af2a77937df72b074ef1a972b08171986d4dbddf0c86d0cf83a3f5">app/views/diary_entries/index.html.erb</a>
    (28)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-2a43f1a5b4e2bda5df6ec18928f70304b3e1e3bcb084c26cc00d3ed34dab9062">app/views/shared/_pagination.html.erb</a>
    (23)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-32ba6e9f4496cadb88121e7aeb34a64d4d160088cca48e37f0054e3b57c4bdd4">app/views/traces/_trace_paging_nav.html.erb</a>
    (23)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4239/files#diff-446cb1205994b7918b2a68c30feb162b10fce3a0a9e05c716d9e966df4ba0507">app/views/traces/index.html.erb</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4239.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4239.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4239.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4239.diff</a></li>
</ul>

<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/pull/4239">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNIJP2JC7UKPFEEMF3XZLE5DANCNFSM6AAAAAA4P7QODY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMNBCBGAX6DLXBZMNDXZLE5DA5CNFSM6AAAAAA4P7QOD2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHA65QDE.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/pull/4239</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/pull/4239",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4239",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>