Commit 5f018c00 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos/hateoas: Extent the select_list when query Software Instances

  This save us to call a jio_get later per line in a loop
parent 095d8073
......@@ -360,7 +360,9 @@ class SlapHateoasNavigator(HateoasNavigator):
return result['data']['rows']
def getHostingSubscriptionInstanceList(self, title):
select_list=['uid', 'relative_url', 'portal_type', 'url_string', 'SoftwareInstance_getNewsDict']
select_list = ['uid', 'title', 'relative_url', 'portal_type',
'url_string', 'text_content', 'getConnectionXmlAsDict',
'SoftwareInstance_getNewsDict']
query_str = 'portal_type:("Software Instance", "Slave Instance") AND validation_state:validated'
query_str += ' AND default_specialise_title:="%s"' % title
result = self.jio_allDocs(
......
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