Commit 71b862ff authored by Roque's avatar Roque

erp5_web_project_ui: fix jio queries

parent c6f9f4f6
Pipeline #6999 failed with stage
in 0 seconds
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
function setLastTestResult(gadget, project_title, span_element, svg_element) { function setLastTestResult(gadget, project_title, span_element, svg_element) {
span_element.classList.remove("ui-disabled"); span_element.classList.remove("ui-disabled");
var query = createProjectQuery(project_title, var query = createProjectQuery(project_title,
[["portal_type", "Benchmark Result"]]); [["portal_type", "Test Result"]]);
return gadget.jio_allDocs({ return gadget.jio_allDocs({
query: query, query: query,
limit: 1, limit: 1,
...@@ -129,7 +129,6 @@ ...@@ -129,7 +129,6 @@
redirector_ulr = url; redirector_ulr = url;
return gadget.jio_allDocs({ return gadget.jio_allDocs({
query: Query.objectToSearchText(query), query: Query.objectToSearchText(query),
limit: 1,
select_list: ['validation_state', 'text_content'] select_list: ['validation_state', 'text_content']
}); });
}) })
......
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