diff --git a/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.py b/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.py index f40e0d5c5c1ec04dcb6ccb8b7e9f5076ffa9a8d0..5cea69a7fae35e6fe635b8f0fffbdba207f8409f 100644 --- a/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.py +++ b/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.py @@ -14,6 +14,9 @@ if software_product_reference is None: ) if not software_release: return [] + + if strict: + return [software_release] software_product_reference = software_release.getAggregateReference() if not software_product_reference: diff --git a/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.xml b/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.xml index 58b0c9d41dd0ed494b307ea0fc410dcd23dc141d..54880483a8c57d976e6e7ce1334d7c45356887ca 100644 --- a/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.xml +++ b/master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>_params</string> </key> - <value> <string>software_product_reference=None, software_release_url=None</string> </value> + <value> <string>software_product_reference=None, software_release_url=None, strict=None</string> </value> </item> <item> <key> <string>id</string> </key>