Set default reduce to none not _sum
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0fd6a7ed Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0fd6a7ed Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0fd6a7ed Branch: refs/heads/api-options Commit: 0fd6a7ed63836bad36c75c3935e27804be30773c Parents: 32bb6ce Author: suelockwood <[email protected]> Authored: Thu Jan 16 14:12:51 2014 -0500 Committer: suelockwood <[email protected]> Committed: Thu Jan 16 14:13:09 2014 -0500 ---------------------------------------------------------------------- src/fauxton/app/addons/documents/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/0fd6a7ed/src/fauxton/app/addons/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/documents/views.js b/src/fauxton/app/addons/documents/views.js index bde08f8..ba7e7d7 100644 --- a/src/fauxton/app/addons/documents/views.js +++ b/src/fauxton/app/addons/documents/views.js @@ -1593,7 +1593,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum beforeRender: function () { if (this.newView) { - this.reduceFunStr = '_sum'; + this.reduceFunStr = ''; if (this.ddocs.length === 0) { this.model = new Documents.Doc(null, {database: this.database}); } else {
