Skip to content
Snippets Groups Projects
Commit e97ee308 authored by wactbprot's avatar wactbprot
Browse files

..

parent 613ceb8f
No related branches found
No related tags found
No related merge requests found
...@@ -227,9 +227,9 @@ exports.allToDo = function(doc){ ...@@ -227,9 +227,9 @@ exports.allToDo = function(doc){
}, },
o = doc.ToDo; o = doc.ToDo;
if(o.Name || o.Sign){ if(o.Name && o.Type){
_res._avail = true; _res._avail = true;
_res.key = o.Name || o.Sign; _res.key = o.Name +"("+ o.Type +")";
_res.value = doc; _res.value = doc;
} }
return _res; return _res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment