You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 16:34:45 UTC

[24/49] fabric commit: updated refs/heads/windsor-merge to b1c0030

Fix inclusion of "doc":"undefined" in changes feed

We were reusing the wrong variable after removing the default values.

BugzId: 24356


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/1f045616
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/1f045616
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/1f045616

Branch: refs/heads/windsor-merge
Commit: 1f045616dda3ec667aabda37c31c843394f56bd9
Parents: ec26cba
Author: Paul J. Davis <pa...@gmail.com>
Authored: Tue Oct 22 00:02:46 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Aug 1 15:33:42 2014 +0100

----------------------------------------------------------------------
 src/fabric_view_changes.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/1f045616/src/fabric_view_changes.erl
----------------------------------------------------------------------
diff --git a/src/fabric_view_changes.erl b/src/fabric_view_changes.erl
index 479c32b..3ca60b1 100644
--- a/src/fabric_view_changes.erl
+++ b/src/fabric_view_changes.erl
@@ -382,7 +382,7 @@ changes_row(Props0, IncludeDocs) ->
             lists:keydelete(deleted, 1, Props1)
     end,
     Allowed = [seq, id, changes, deleted, doc],
-    Props3 = lists:filter(fun({K,_V}) -> lists:member(K, Allowed) end, Props0),
+    Props3 = lists:filter(fun({K,_V}) -> lists:member(K, Allowed) end, Props2),
     {change, {Props3}}.
 
 find_replacement_shards(#shard{range=Range}, AllShards) ->