Commit 79ad93cd authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Rafael Monnerat

slapos_jio: show all parameters in one page in software_instance_view

the pagination doesn't work because
SoftwareInstance_getConnectionParameterList returns always all
parameters.
parent 14bf7652
...@@ -210,7 +210,8 @@ ...@@ -210,7 +210,8 @@
"editable": 1, "editable": 1,
"editable_column_list": [], "editable_column_list": [],
"key": "slap_connection_listbox", "key": "slap_connection_listbox",
"lines": 10, // XXXX this listbox doesn't handle pagination correctly. Let's hope we will never have more than 100 connection parameters.
"lines": 100,
"list_method": "SoftwareInstance_getConnectionParameterList", "list_method": "SoftwareInstance_getConnectionParameterList",
"list_method_template": url_list[1] + "ERP5Document_getHateoas?mode=search&" + "list_method_template": url_list[1] + "ERP5Document_getHateoas?mode=search&" +
"list_method=SoftwareInstance_getConnectionParameterList&relative_url=" + "list_method=SoftwareInstance_getConnectionParameterList&relative_url=" +
......
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>superthomas</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>972.34311.9684.42598</string> </value> <value> <string>974.29228.49487.5973</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1552958464.97</float> <float>1578922812.84</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