Commit 44352741 authored by Alain Takoudjou's avatar Alain Takoudjou

erp5_web_mynij_search: Search in searx and mynij at the same time

parent 7e9e4c75
......@@ -149,10 +149,8 @@
return gadget.state.result_gadget.showResultBox();
})
.push(function () {
return gadget.search(search_text, limit, index)
})
.push(function () {
return gadget.add_searx_results(search_text);
return RSVP.all[gadget.search(search_text, limit, index),
gadget.add_searx_results(search_text)];
});
})
.declareMethod("search", function (key, limit, index) {
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>994.64069.60060.33621</string> </value>
<value> <string>995.3972.54835.4522</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1632405414.19</float>
<float>1632754684.96</float>
<string>UTC</string>
</tuple>
</state>
......
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