Commit 3d9ef273 authored by Łukasz Nowak's avatar Łukasz Nowak

Instance are available from /instance/

parent 683a2ee5
...@@ -395,7 +395,7 @@ class InstancePublisher(GenericPublisher): ...@@ -395,7 +395,7 @@ class InstancePublisher(GenericPublisher):
d = {"list": []} d = {"list": []}
a = d['list'].append a = d['list'].append
for si in self.getPortalObject().portal_catalog(**kw): for si in self.getPortalObject().portal_catalog(**kw):
a('/'.join([self.absolute_url(), si.getRelativeUrl()])) a('/'.join([self.absolute_url(), 'instance', si.getRelativeUrl()]))
try: try:
d['list'][0] d['list'][0]
except IndexError: except IndexError:
......
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