|
|
@@ -26,8 +26,8 @@ function compress_doclist(list) { |
|
|
|
var o = list[i]; |
|
|
|
var fl = []; |
|
|
|
if(!kl[o.doctype]) { // make key only once # doctype must be first |
|
|
|
var tfl = ['doctype', 'name', 'docstatus', 'owner', 'parent', 'parentfield', 'parenttype', 'idx', 'creation', 'modified', 'modified_by', '__islocal', '__deleted','__newname', '__modified', '_user_tags']; // for text |
|
|
|
var fl = ['doctype', 'name', 'docstatus', 'owner', 'parent', 'parentfield', 'parenttype', 'idx', 'creation', 'modified', 'modified_by', '__islocal', '__deleted','__newname', '__modified', '_user_tags']; // for unique |
|
|
|
var tfl = ['doctype', 'name', 'docstatus', 'owner', 'parent', 'parentfield', 'parenttype', 'idx', 'creation', 'modified', 'modified_by', '__islocal', '__newname', '__modified', '_user_tags']; // for text |
|
|
|
var fl = [].concat(tfl); |
|
|
|
|
|
|
|
for(key in wn.meta.docfield_map[o.doctype]) { // all other values |
|
|
|
if(!in_list(fl, key) |
|
|
|