Commit 4975d150 authored by Romain Courteaud's avatar Romain Courteaud

erp5_discussion: no need to sort post to generate the full text content

parent de0c03b2
Pipeline #18799 failed with stage
in 0 seconds
child_raw_text = ""
child_brain_list = context.DiscussionThread_getContextPostList(
sort_on=['creation_date', 'descending'],
)
child_brain_list = context.DiscussionThread_getContextPostList()
for child in child_brain_list:
child_raw_text += child.asRawText()
#XX If word is last, it is not displayed
......
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