Commit fe84b799 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_discussion: speed up forum RSS generation

parent de11adee
...@@ -13,5 +13,4 @@ if len(parent_uid_list)==0: ...@@ -13,5 +13,4 @@ if len(parent_uid_list)==0:
# no parent discussion threads therefore no posts # no parent discussion threads therefore no posts
return [] return []
result = [x.getObject() for x in context.portal_catalog(**kw)] return context.portal_catalog(**kw)
return result
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