Commit a6a451f5 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: minor change

parent c8220f54
...@@ -64,13 +64,13 @@ ...@@ -64,13 +64,13 @@
sub_query_list = [], sub_query_list = [],
column_list = options.layout.x.column_list, column_list = options.layout.x.column_list,
domain_id = options.layout.x.domain_id, domain_id = options.layout.x.domain_id,
extended_search_mapping = {},
data = { data = {
x: options.layout.x.key, x: options.layout.x.key,
title: options.title || options.layout.x.title, title: options.title || options.layout.x.title,
x_title: options.layout.x.title, x_title: options.layout.x.title,
y_title: options.layout.y.title, y_title: options.layout.y.title,
column_list: column_list, column_list: column_list,
extended_search_mapping: {},
graph_gadget: "unsafe/gadget_field_graph_echarts.html" graph_gadget: "unsafe/gadget_field_graph_echarts.html"
}, },
performance_mapping = { performance_mapping = {
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
if (domain_id) { if (domain_id) {
domain_list = options.layout.x.domain_list || []; domain_list = options.layout.x.domain_list || [];
for (i = 0; i < domain_list.length; i += 1) { for (i = 0; i < domain_list.length; i += 1) {
extended_search_mapping[column_list[i]] = { data.extended_search_mapping[column_list[i]] = {
"key": "selection_domain_" + domain_id, "key": "selection_domain_" + domain_id,
"value": domain_list[i] "value": domain_list[i]
}; };
...@@ -162,7 +162,6 @@ ...@@ -162,7 +162,6 @@
}); });
sub_query_list = []; sub_query_list = [];
} }
data.extended_search_mapping = extended_search_mapping;
data.query_list = query_list; data.query_list = query_list;
} else if (group_by instanceof Array && group_by.length > 1) { } else if (group_by instanceof Array && group_by.length > 1) {
data.query = { data.query = {
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>994.39820.35843.53213</string> </value> <value> <string>995.17898.45843.30139</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1630946760.9</float> <float>1633479573.07</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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