<p>In app/controllers/changeset_controller.rb:</p>
<pre style='color:#555'>> @@ -414,6 +415,18 @@ def conditions_closed(changesets, closed)
>    end
>  
>    ##
> +  # query changesets by a list of ids
> +  # (either specified as array or comma-separated string)
> +  def conditions_ids(changesets, ids)
> +    if ids.nil? or ids.empty?
</pre>
<p>An empty string should throw an exception, as for the other object types - something like:</p>

<div class="highlight highlight-ruby"><pre><span class="k">raise</span> <span class="no">OSM</span><span class="o">::</span><span class="no">APIBadUserInput</span><span class="o">.</span><span class="n">new</span><span class="p">(</span><span class="s2">"No changesets were given to search for"</span><span class="p">)</span>
</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/608/files#r8109076'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpnJ39SMQ-MYrsV_pUFUvDlYjnlKEKoyIhK3KPGklSsuE.gif' height='1' width='1'></p>