<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>If there is an ORDER BY in the query the system already has to access all records. And the user profile page also has a count of changesets. Maybe this is pre-calculated and kept in the user table? Can this not be leveraged, or is this an example of what you are "looking in due course to get rid of"?</p>
<div> </div>
<p><br /></p>
<p>On 2018-12-17 15:36, Tom Hughes wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Sorry, but this isn't going to happen - in fact we probably need to get rid of the page number completely as computing the page numbers is very inefficient as it requires finding and counting the total number of matching records.</p>
<p>As a general rule we don't accept anything which adds page counts to next/previous controls and we are looking in due course to get rid of those which already exist.</p>
<p style="font-size: small; -webkit-text-size-adjust: none; color: #666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2089#issuecomment-447867147" target="_blank" rel="noopener noreferrer">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLWs3P-2jaXGnuC7JOQCnQBerwb2Aks5u56vqgaJpZM4ZWdSC" target="_blank" rel="noopener noreferrer">mute the thread</a>.<img src="cid:15450578865c17b65e7547a360819566@xs4all.nl" width="1" height="1" /></p>
<!-- script not allowed --> <!-- script not allowed --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> rails-dev mailing list<br /> <a href="mailto:rails-dev@openstreetmap.org">rails-dev@openstreetmap.org</a><br /> <a href="https://lists.openstreetmap.org/listinfo/rails-dev" target="_blank" rel="noopener noreferrer">https://lists.openstreetmap.org/listinfo/rails-dev</a></div>
</blockquote>
</body></html>