Commit 7c387d03 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_gadget_interface_validator: rename field to avoid render graphic in the listbox

parent 3d53f932
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
.push(function (result) { .push(function (result) {
var i, date, len = result.data.total_rows; var i, date, len = result.data.total_rows;
for (i = 0; i < len; i += 1) { for (i = 0; i < len; i += 1) {
result.data.rows[i].value.validation_state = { result.data.rows[i].value.status = {
field_gadget_param: { field_gadget_param: {
description: "", description: "",
title: "State", title: "State",
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
gadget_to_check_url: result.data.rows[i].value.url, gadget_to_check_url: result.data.rows[i].value.url,
summary: true summary: true
}), }),
key: "field_my_validation_state", key: "field_my_status",
hidden: 0, hidden: 0,
type: "GadgetField" type: "GadgetField"
} }
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
.push(function (form_gadget) { .push(function (form_gadget) {
var column_list = [ var column_list = [
['url', 'Gadget'], ['url', 'Gadget'],
['validation_state', 'State'] ['status', 'State']
]; ];
return form_gadget.render({ return form_gadget.render({
erp5_document: {"_embedded": {"_view": { erp5_document: {"_embedded": {"_view": {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>977.38881.34981.23125</string> </value> <value> <string>1006.24986.53991.1365</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1581503610.2</float> <float>1676465021.23</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