Commit a86a462d authored by Alexandra Rogova's avatar Alexandra Rogova

fixed faulty query

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