blah
This commit is contained in:
commit
50fe1fb71c
|
@ -24,7 +24,7 @@ class FeatureSearchManager(models.GeoManager):
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
cursor.execute("""SELECT set_limit(%f)""" % threshold)
|
cursor.execute("""SELECT set_limit(%f)""" % threshold)
|
||||||
|
|
||||||
def find(self, bbox=None, text=None, adm1=None, adm2=None, threshold=0.35, srid=4326):
|
def find(self, bbox=None, text=None, adm1=None, adm2=None, threshold=0.5, srid=4326):
|
||||||
qset = self.get_query_set()
|
qset = self.get_query_set()
|
||||||
if bbox:
|
if bbox:
|
||||||
(minx, miny, maxx, maxy) = bbox
|
(minx, miny, maxx, maxy) = bbox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user