@@ -52,7 +52,7 @@ class TestSlapOSHalJsonStyleMixin(SlapOSTestCaseMixinWithAbort):
...
@@ -52,7 +52,7 @@ class TestSlapOSHalJsonStyleMixin(SlapOSTestCaseMixinWithAbort):
except(AttributeError,TypeError)as_:
except(AttributeError,TypeError)as_:
connection_url=''
connection_url=''
ifcontext.getPortalType()=="Instance Tree":
ifcontext.getPortalType()=="Instance Tree":
returnbase_url+'&query=portal_type:"Instance Tree" AND title:(%s)'%context.getTitle()+connection_url
returnbase_url+'&query=portal_type:"Instance Tree" AND title:"%s"'%context.getTitle()+connection_url
else:
else:
returnbase_url+'&query=portal_type:"Software Instance" AND title:"%s" AND '%context.getTitle()+'specialise_title:"%s"'%instance_tree_title+connection_url
returnbase_url+'&query=portal_type:"Software Instance" AND title:"%s" AND '%context.getTitle()+'specialise_title:"%s"'%instance_tree_title+connection_url