Commit d295ca9c authored by Łukasz Nowak's avatar Łukasz Nowak

Return only available softwares.

parent 5cda4356
......@@ -56,9 +56,10 @@ for software_installation in context.getPortalObject().portal_catalog(\n
validation_state=\'validated\',\n
default_aggregate_uid=context.getUid()\n
):\n
url_string = software_installation.getUrlString()\n
if url_string:\n
url_string_list.append(url_string)\n
if software_installation.getSlapState() == \'start_requested\':\n
url_string = software_installation.getUrlString()\n
if url_string:\n
url_string_list.append(url_string)\n
return url_string_list\n
</string> </value>
</item>
......
483
\ No newline at end of file
484
\ No newline at end of file
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