Commit bf3b49ca authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Use URL instead uid, to prevent query catalog 2 times.

parent e2915dc6
......@@ -143,7 +143,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getAggregateValue(portal_type=\'Computer\').Computer_getSoftwareReleaseUsage(context.portal_catalog.getResultValue(url_string={\'query\': here.getUrlString(), \'key\': \'ExactMatch\'}, portal_type=\'Software Release\').getUid())</string> </value>
<value> <string>python: here.getAggregateValue(portal_type=\'Computer\').Computer_getSoftwareReleaseUsage(here.getUrlString())</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -143,7 +143,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getAggregateValue(portal_type=\'Computer\').Computer_getSoftwareReleaseUsage(context.portal_catalog.getResultValue(url_string={\'query\': here.getUrlString(), \'key\': \'ExactMatch\'}, portal_type=\'Software Release\').getUid())</string> </value>
<value> <string>python: here.getAggregateValue(portal_type=\'Computer\').Computer_getSoftwareReleaseUsage(here.getUrlString())</string> </value>
</item>
</dictionary>
</pickle>
......
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