40Isk42SiEdxW4yi4DuPsm changeset

Changeset323031643164 (b)
Parent656135306237 (a)
ab
3232
3333// CURRENT OUTPUT OF VIEW (with group=true)
3434{
...
35-  "rows":[
35-  {"key":"Bills / Gas","value":true},
35-  {"key":"Debt / Credit Card Payments","value":true}
35-]}
35+        "rows": [
35+                {
35+                        "key": "Debt / Credit Card Payments",
35+                        "value": true
35+                },
35+                {
35+                        "key": "Bills / Gas",
35+                        "value": true
35+                }
35+        ]
35+}
...
3939
...
40+// CURRENT OUTPUT OF VIEW (as temp view)
40+{
40+        "rows": [
40+                {
40+                        "key": "Dept / Default Charges",
40+                        "value": true
40+                },
40+                {
40+                        "key": "Debt / Credit Card Payments",
40+                        "value": true
40+                },
40+                {
40+                        "key": "Bills / Gas",
40+                        "value": true
40+                }
40+        ]
40+}
...
4040// SIMPLIFIED VIEW
4141function(doc) {
4242        if (doc.type && doc.type == 'transaction') {
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- Revision 656135306237
+++ Revision 323031643164
@@ -33,11 +33,35 @@
// CURRENT OUTPUT OF VIEW (with group=true)
{
- "rows":[
- {"key":"Bills / Gas","value":true},
- {"key":"Debt / Credit Card Payments","value":true}
-]}
+ "rows": [
+ {
+ "key": "Debt / Credit Card Payments",
+ "value": true
+ },
+ {
+ "key": "Bills / Gas",
+ "value": true
+ }
+ ]
+}
+// CURRENT OUTPUT OF VIEW (as temp view)
+{
+ "rows": [
+ {
+ "key": "Dept / Default Charges",
+ "value": true
+ },
+ {
+ "key": "Debt / Credit Card Payments",
+ "value": true
+ },
+ {
+ "key": "Bills / Gas",
+ "value": true
+ }
+ ]
+}
// SIMPLIFIED VIEW
function(doc) {
if (doc.type && doc.type == 'transaction') {