[openstreetmap/openstreetmap-website] a (#1616)
lelelelemon
notifications at github.com
Wed Aug 23 04:35:18 UTC 2017
```
falling-fruit/app/models/location.rb:43: if Invasive.where("ARRAY[?] @> ARRAY[invasives.type_id] AND ST_INTERSECTS(?,invasives.regions)",record.type_ids,record.location).count > 0
--
falling-fruit/app/views/locations/_infowindow.html.erb:197: <option value="<%= r.id %>"><%= r.name %> <%= LocationsRoute.where("route_id = ? AND location_id = ?",r.id,location.id).count > 0 ? "(+)" : "" %></option>
```
both could be changed
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1616
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170822/4e478682/attachment.html>
More information about the rails-dev
mailing list