[openstreetmap-website] Creating a user configurable limit for results of a changeset query (#535)
notifications at github.com
Thu Dec 5 13:51:12 UTC 2013
> @@ -202,6 +202,12 @@ def query
> bbox = BoundingBox.from_bbox_params(params)
> + if params[:limit] and params[:limit].to_i > 0 and params[:limit].to_i < 10000
> + limit = params[:limit].to_i
> + else
> + limit = 100
Obviously I didn't notice it in the notes stuff, but I don't think it's ideal to just ignore an out of range value, no.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev