Commit 6cd6e82c authored by Vincent Bechu's avatar Vincent Bechu

Remove include_docs from queries

parent 31808835
......@@ -303,13 +303,19 @@
.push(function () {
return storage._sub_storage.allDocs({
query: 'portal_type: "Conversion Info"',
include_docs: true
select_list: [
"portal_type",
"convert_dict",
"format",
"attachment_id",
"doc_id"
]
});
})
.push(function (result) {
var i, promise_list = [], format, doc;
for (i = 0; i < result.data.total_rows; i += 1) {
doc = result.data.rows[i].doc;
doc = result.data.rows[i].value;
for (format in doc.convert_dict) {
if (doc.convert_dict.hasOwnProperty(format) &&
doc.convert_dict[format] !== true) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment