[openstreetmap-website] Creating a user configurable limit for results of a changeset query (#535)
Tom Hughes
notifications at github.com
Thu Dec 5 18:01:17 UTC 2013
> @@ -202,6 +202,12 @@ def query
> bbox = BoundingBox.from_bbox_params(params)
> end
>
> + if params[:limit] and params[:limit].to_i > 0 and params[:limit].to_i < 10000
> + limit = params[:limit].to_i
> + else
> + limit = 100
I've fixed notes now in 0f2958aed4239afcceb6d80f8bc51ab5ad168051.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/535/files#r8137962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131205/63ea4101/attachment-0001.html>
More information about the rails-dev
mailing list