Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F65910B6F for ; Mon, 31 Mar 2014 19:47:24 +0000 (UTC) Received: (qmail 49554 invoked by uid 500); 31 Mar 2014 19:46:42 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 49400 invoked by uid 500); 31 Mar 2014 19:46:37 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 47924 invoked by uid 99); 31 Mar 2014 19:45:58 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2014 19:45:58 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C4131908F9B; Mon, 31 Mar 2014 19:45:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: deathbear@apache.org To: commits@couchdb.apache.org Date: Mon, 31 Mar 2014 19:46:21 -0000 Message-Id: In-Reply-To: <696e952899414a4996f1cf0c9ac5f252@git.apache.org> References: <696e952899414a4996f1cf0c9ac5f252@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [27/41] couchdb commit: updated refs/heads/Update-Sidebar-Ui to c1e1423 put back JSON return value in collation example Originally removed in 0f7be287d6a9358d960beb17b16ad7b5e20bd360 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bea5c947 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bea5c947 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bea5c947 Branch: refs/heads/Update-Sidebar-Ui Commit: bea5c947d1c832f0054ae5d22376ebfbf37a366c Parents: 35a0303 Author: BigBlueHat Authored: Tue Mar 25 16:45:28 2014 -0400 Committer: BigBlueHat Committed: Tue Mar 25 16:45:28 2014 -0400 ---------------------------------------------------------------------- share/doc/src/couchapp/views/collation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/bea5c947/share/doc/src/couchapp/views/collation.rst ---------------------------------------------------------------------- diff --git a/share/doc/src/couchapp/views/collation.rst b/share/doc/src/couchapp/views/collation.rst index 06c4c6d..9c2f5c7 100644 --- a/share/doc/src/couchapp/views/collation.rst +++ b/share/doc/src/couchapp/views/collation.rst @@ -28,7 +28,7 @@ property serves as the key, thus the result will be sorted by ``LastName``: function(doc) { if (doc.Type == "customer") { - emit(doc.LastName, null); + emit(doc.LastName, {FirstName: doc.FirstName, Address: doc.Address}); } }