<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1848669269" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4164" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4164/hovercard?comment_id=1677667971&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/4164#issuecomment-1677667971">#4164 (comment)</a></p>
<p dir="auto">These parameters work exactly like they do with note searches when notes are sorted by <code class="notranslate">created_at</code>.<br>
<code class="notranslate">time</code> parameter is left unchanged, but its use together with <code class="notranslate">order=oldest</code> is disallowed.<br>
Sorting is restored to <code class="notranslate">created_at</code>.</p>
<p dir="auto">Supersedes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1849906774" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4168" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4168/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4168">#4168</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/4171'>https://github.com/openstreetmap/openstreetmap-website/pull/4171</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/commits/1e8cd9bedd9a16e9c6a8d99ed1ac692155cc3d28" class="commit-link">1e8cd9b</a>  Add tests for changeset order + from..to queries</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/commits/b350c78bc8740701a57d8639da5ab012a51f70c7" class="commit-link">b350c78</a>  Sort changesets by creation time</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/commits/7bca06a3d31602f896431269a3dc493aa819b70a" class="commit-link">7bca06a</a>  Disallow changesets query with both time and order=oldest</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/commits/86f254380bbff08e4e760b20421eae9241edc95a" class="commit-link">86f2543</a>  Revert misleading comment about time restriction</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/commits/5016defff0e6c5220c4b58ffabcf7113473b5e5f" class="commit-link">5016def</a>  Add 'from' and 'to' changeset query parameters</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/files#diff-6726f8601cd22886963fb41888b55956cae4f8124aa12c701da77c3add44d94c">app/controllers/api/changesets_controller.rb</a>
    (36)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4171/files#diff-e95198c7f7744be3ce9857db36d2374538ca7d64caaf0f6f85865d6752563ee9">test/controllers/api/changesets_controller_test.rb</a>
    (74)
  </li>
</ul>

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