summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-04-05 11:46:47 -0400
committerJules Laplace <jules@okfoc.us>2016-04-05 11:46:47 -0400
commitcd929e1c38c02c1d048abe702c04c7d4d6188011 (patch)
treeec2b32caa4a71f5de7e998c64e7e9dfd994b295e /examples
parent39b95380e6f81734d8a54bfbbfda13216d400247 (diff)
Fix sorting bug when savingv0.1.25
Diffstat (limited to 'examples')
-rw-r--r--examples/db.json20
-rw-r--r--examples/index.js2
2 files changed, 18 insertions, 4 deletions
diff --git a/examples/db.json b/examples/db.json
index bdad6c8..1d045c3 100644
--- a/examples/db.json
+++ b/examples/db.json
@@ -150,8 +150,8 @@
],
"test": [
{
- "id": "test",
- "title": "tEst",
+ "id": "red",
+ "title": "Red",
"media": [
{
"uri": "http://asdf.us/",
@@ -159,8 +159,22 @@
"type": "link"
}
],
- "__index": "0",
+ "__index": 0,
"dateCreated": "Mon, 28 Mar 2016 23:02:45 GMT"
+ },
+ {
+ "id": "blue",
+ "title": "Blue",
+ "__index": 2,
+ "dateCreated": "Tue, 05 Apr 2016 15:17:54 GMT",
+ "media": []
+ },
+ {
+ "id": "green",
+ "title": "Green",
+ "__index": 1,
+ "dateCreated": "Tue, 05 Apr 2016 15:17:57 GMT",
+ "media": []
}
]
} \ No newline at end of file
diff --git a/examples/index.js b/examples/index.js
index 4bf385f..81d9241 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -4,7 +4,7 @@ var app = okcms.createApp({
root: 'public',
- debug: false,
+ debug: true,
schemas: {
page: {