glob suffix wildcard fix

This commit is contained in:
Josh Baker 2016-04-12 06:23:08 -07:00
parent 06490abe22
commit 929cce09fd
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func (c *Controller) cmdScan(msg *server.Message) (res string, err error) {
return sw.writeObject(id, o, fields, false) return sw.writeObject(id, o, fields, false)
}) })
} else { } else {
s.cursor = sw.col.ScanGreaterOrEqual(sw.glob, s.cursor, func(id string, o geojson.Object, fields []float64) bool { s.cursor = sw.col.ScanGreaterOrEqual(greaterGlob, s.cursor, func(id string, o geojson.Object, fields []float64) bool {
return sw.writeObject(id, o, fields, false) return sw.writeObject(id, o, fields, false)
}) })
} }