Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aurel
jio
Commits
c408d263
Commit
c408d263
authored
Jun 17, 2015
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IndexedDB: include_docs should return result in doc property
parent
ee8a65fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/jio.storage/indexeddbstorage.js
src/jio.storage/indexeddbstorage.js
+2
-1
test/jio.storage/indexeddbstorage.tests.js
test/jio.storage/indexeddbstorage.tests.js
+4
-2
No files found.
src/jio.storage/indexeddbstorage.js
View file @
c408d263
...
@@ -176,7 +176,8 @@
...
@@ -176,7 +176,8 @@
function
pushIncludedMetadata
(
cursor
)
{
function
pushIncludedMetadata
(
cursor
)
{
result_list
.
push
({
result_list
.
push
({
"
id
"
:
cursor
.
key
,
"
id
"
:
cursor
.
key
,
"
value
"
:
cursor
.
value
.
doc
"
value
"
:
{},
"
doc
"
:
cursor
.
value
.
doc
});
});
}
}
...
...
test/jio.storage/indexeddbstorage.tests.js
View file @
c408d263
...
@@ -384,10 +384,12 @@
...
@@ -384,10 +384,12 @@
"
data
"
:
{
"
data
"
:
{
"
rows
"
:
[{
"
rows
"
:
[{
"
id
"
:
"
1
"
,
"
id
"
:
"
1
"
,
"
value
"
:
{
"
title
"
:
"
title1
"
}
"
doc
"
:
{
"
title
"
:
"
title1
"
},
"
value
"
:
{}
},
{
},
{
"
id
"
:
"
2
"
,
"
id
"
:
"
2
"
,
"
value
"
:
{
"
title
"
:
"
title2
"
}
"
doc
"
:
{
"
title
"
:
"
title2
"
},
"
value
"
:
{}
}],
}],
"
total_rows
"
:
2
"
total_rows
"
:
2
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment