Commit a86a462d authored by Alexandra Rogova's avatar Alexandra Rogova

fixed faulty query

parent 9c1ad6f8
......@@ -71,7 +71,7 @@
options;
options = {
query:'(title:"% '+key+' %") OR (title:'+ key + '%") OR (body:"% '+key+' %")'
query:'(title:"% '+key+' %") OR (title:"'+ key + '%") OR (body:"% '+key+' %")'
};
return gadget.state.result_gadget.clear()
......@@ -88,7 +88,7 @@
var i,
id,
promise_list = [];
for (i = 0; i < result.data.rows.length; i+=1){
id = result.data.rows[i].id;
promise_list.push(gadget.state.model_gadget.get(id));
......
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