<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/73d57a3d-a113-4abf-b543-5a29d18e1389">image.png (view on web)</a></p>
<p dir="auto">This gets rid of classic pagination on this page. There's going to be only two pages with classic pagination after that: user blocks and changeset elements.</p>
<p dir="auto">Differences to the previous version:</p>
<ul dir="auto">
<li>Users are listed in the opposite order.</li>
<li>Of course now there's no page numbers and it's impossible to switch to the nth page, but I don't know if this was ever used.</li>
<li>Normally with before/after pagination there's no total count. Classic pagination had it, which might be useful when combined with some filter like ip address. I added the count here because there won't be any large traffic to this page.</li>
</ul>

<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/4625'>https://github.com/openstreetmap/openstreetmap-website/pull/4625</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/commits/addf99f1911ec617ba258e075a53d774dee2a672" class="commit-link">addf99f</a>  Move common pagination code to mixin</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/commits/274a516bc6b84b8f0f907bbc129983035411d877" class="commit-link">274a516</a>  Make "include" and "limit" keyword args of pagination method</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/commits/9f8e4fd60a7daeb5fdc4623102eed7131b9f52ca" class="commit-link">9f8e4fd</a>  Use before/after pagination on users page</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/commits/f0d05c20ae4cbf05eac73ece0d0357bc2c33bbad" class="commit-link">f0d05c2</a>  Add found users count to users page</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files">8 files</a>)</p>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-4f5bc884ee2d0b00f5f34aadef6573b1886dec57eb4340b59f464db9b2853721">app/controllers/concerns/pagination_methods.rb</a>
    (27)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-2602c06a2618f83c1470c924563b55c738e3c94ffb6480e637ca0f4ce130eaba">app/controllers/traces_controller.rb</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6e">app/controllers/users_controller.rb</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-446cb1205994b7918b2a68c30feb162b10fce3a0a9e05c716d9e966df4ba0507">app/views/traces/index.html.erb</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-2f2f2a0bc9c3675306c20ed740c32fad7b057eae15952a8dd2455d3eb661a49f">app/views/users/index.html.erb</a>
    (35)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4625/files#diff-2719d3c650da3c587f727ca3c105e6bc93a7113f85717bb15983543cf4f85ae5">test/controllers/users_controller_test.rb</a>
    (27)
  </li>
</ul>

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