Changeset 90ce398 in osmose-frontend


Ignore:
Timestamp:
Nov 24, 2012 6:17:46 PM (5 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
8390d78
Parents:
cf06a02
Message:

Fix marker sql query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • map.py

    rcf06a02 r90ce398  
    330330    WHERE 
    331331        %s AND 
    332         (marker.lat BETWEEN %d AND %d) AND (marker.lon BETWEEN %d AND %d) AND 
    333332        dynpoi_update_last.timestamp > (now() - interval '3 months') 
    334333    ORDER BY 
     
    338337 
    339338    join, where = build_param(source, item, level, user) 
    340     db.execute(sqlbase % (join, where, minlat, maxlat, minlon, maxlon, lat, lon)) # FIXME pas de % 
     339    db.execute(sqlbase % (join, where, lat, lon)) # FIXME pas de % 
    341340    results = db.fetchall() 
    342341 
Note: See TracChangeset for help on using the changeset viewer.