<p dir="auto">This simple PR changes ordering when showing user notes on the public website (<code>https://www.openstreetmap.org/user/USERNAME/notes</code>)</p>
<p dir="auto">Previously, notes were sorted by date of last update (newest first), regardless of their status <code>open</code>/<code>closed</code>.</p>
<p dir="auto">With this, it displays <code>open</code> notes first (as that is most likely what the user is interested in), followed by all <code>closed</code> notes.<br>
Apart from that, the notes remain sorted as before - by date of last update (newest first).</p>
<p dir="auto">While not completely solving it, this should alleviate most grave problems of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48080268" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/832" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/832/hovercard?comment_id=829383983&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/issues/832#issuecomment-829383983">#832 (comment)</a></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/3386'>https://github.com/openstreetmap/openstreetmap-website/pull/3386</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3386/commits/68325db5d21acf2c4a3ad1a70407ec90108f5206" class="commit-link">68325db</a>  ordering: show unresolved notes first</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3386/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3386/files#diff-c254740097a8c0601832077488db77e572b2c2b926f77508fadc6081b0052804">app/controllers/notes_controller.rb</a>
    (2)
  </li>
</ul>

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

<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/pull/3386">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN2HY7SCVMRXSG5GVTUOLBNRANCNFSM5I54RJ4A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAK2OLKUJEGVVR6UUNNQGJTUOLBNRA5CNFSM5I54RJ4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4P4B66WA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3386",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3386",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>