Skip to content

Commit

Permalink
MB-6942: Don't return "node": "local"
Browse files Browse the repository at this point in the history
I don't have an idea why I originally returned "node": "local"
for every row. It works also without.

Change-Id: If782c19ff6fe1cf40f184f179a3aef876008cc66
Reviewed-on: http://review.couchbase.org/21717
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
  • Loading branch information
vmx authored and Farshid Ghods committed Oct 19, 2012
1 parent b0bd742 commit 7a4cdc5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/geocouch/couch_spatial_merger.erl
Expand Up @@ -103,7 +103,6 @@ spatial_row_obj({{Bbox, DocId}, {{Type, Coords}, Value}}) ->
",\"bbox\":", (?JSON_ENCODE(tuple_to_list(Bbox)))/binary,
",\"geometry\":",
(?JSON_ENCODE({[{type, Type}, {coordinates, Coords}]}))/binary,
",\"node\":\"", (?LOCAL)/binary, "\"",
",\"value\":", (?JSON_ENCODE(Value))/binary, "}">>.

spatial_less_fun(A, B) ->
Expand Down

0 comments on commit 7a4cdc5

Please sign in to comment.