Commit 7b050a8c authored by Romain Courteaud's avatar Romain Courteaud Committed by Łukasz Nowak

Fix post rebranding YATTA.

parent 6d13b39c
...@@ -78,7 +78,7 @@ def getSoftwareInstanceSecurityCategory(self, base_category_list, user_name, ...@@ -78,7 +78,7 @@ def getSoftwareInstanceSecurityCategory(self, base_category_list, user_name,
category_dict.setdefault(base_category, []).extend(['role', 'role/instance']) category_dict.setdefault(base_category, []).extend(['role', 'role/instance'])
if base_category == "aggregate": if base_category == "aggregate":
software_instance = software_instance_list[0] software_instance = software_instance_list[0]
hosting_item = software_instance.getAggregateValue(portal_type='Hosting Subscription') hosting_item = software_instance.getSpecialiseValue(portal_type='Hosting Subscription')
if hosting_item is not None: if hosting_item is not None:
category_dict.setdefault(base_category, []).append(hosting_item.getRelativeUrl()) category_dict.setdefault(base_category, []).append(hosting_item.getRelativeUrl())
category_list.append(category_dict) category_list.append(category_dict)
......
117 118
\ No newline at end of file \ 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