Commit 44ae2fe5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Show only validated Networks on Computer View

   Also increase the limit, since the default is 10
parent a14a847e
......@@ -133,9 +133,10 @@
return RSVP.all([
gadget.getDeclaredGadget('form_view'),
gadget.jio_allDocs({
query: '(portal_type:"Computer Network")',
query: '(portal_type:"Computer Network") AND (validation_state:validated)',
sort_on: [['reference', 'ascending']],
select_list: ['reference', 'title']
select_list: ['reference', 'title'],
limit: 100
}),
gadget.getTranslationList(translation_list)
]);
......
......@@ -263,7 +263,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.11831.14534.10854</string> </value>
<value> <string>987.49476.87.8891</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -281,7 +281,7 @@
</tuple>
<state>
<tuple>
<float>1602260604.89</float>
<float>1617118020.93</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