fixed line 25, resolved conflict.
This commit is contained in:
parent
393d0f0291
commit
cc0e7e4ae6
|
@ -22,7 +22,7 @@ class FeatureSearchManager(models.GeoManager):
|
|||
if text:
|
||||
text = text.replace("'", "''") # escape the '
|
||||
# use the pg_trgm index
|
||||
qset = qset.extra(where=["preferred_name %% '%s'" % text])
|
||||
qset = qset.extra(where="[preferred_name %% '%s']" % text)
|
||||
return qset
|
||||
|
||||
class Feature(models.Model):
|
||||
|
|
Loading…
Reference in New Issue
Block a user