mango: use proper index type PR: #427 PR-URL: https://github.com/apache/couchdb-fauxton/pull/427 Reviewed-By: garren smith <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/10f9d01d Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/10f9d01d Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/10f9d01d Branch: refs/heads/master Commit: 10f9d01dd46b6e99fbf4a75b5781fc7dff4b65d3 Parents: 43617ac Author: Robert Kowalski <[email protected]> Authored: Tue May 26 16:01:14 2015 +0200 Committer: Robert Kowalski <[email protected]> Committed: Wed May 27 14:09:39 2015 +0200 ---------------------------------------------------------------------- app/addons/documents/mango/mango.helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/10f9d01d/app/addons/documents/mango/mango.helper.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/mango/mango.helper.js b/app/addons/documents/mango/mango.helper.js index d311973..c4794d9 100644 --- a/app/addons/documents/mango/mango.helper.js +++ b/app/addons/documents/mango/mango.helper.js @@ -20,7 +20,7 @@ define([ nameArray = doc.get('def').fields.reduce(function (acc, el, i) { if (i === 0) { - acc.push('json: ' + Object.keys(el)[0]); + acc.push(doc.get('type') + ': ' + Object.keys(el)[0]); } else { acc.push(Object.keys(el)[0]); }
