Commit e3a66511 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_hypermedia: Only list valid validated hosting subscriptions

parent 35627702
......@@ -84,6 +84,7 @@ result_dict = {\n
for sql_obj in context.getPortalObject().portal_catalog(\n
portal_type="Hosting Subscription",\n
default_destination_section_uid=context.getUid(),\n
validation_state="validated"\n
):\n
obj = sql_obj.getObject()\n
result_dict[\'_links\'][\'content\'].append({\n
......
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