Commit a1eb902b authored by Romain Courteaud's avatar Romain Courteaud

slapos_rss_style: revert c6be3640

The performance was much worse.
parent 239631c4
......@@ -39,9 +39,11 @@ follow_up_simulation_state = [
]
data_list = []
for brain in portal.portal_catalog(
for brain in portal.portal_simulation.getMovementHistoryList(
security_query=portal.portal_catalog.getSecurityQuery(),
# Limit only to listable portal types
portal_type=['Web Message', 'Mail Message'],
only_accountable=False,
simulation_state=('started', 'stopped', 'delivered'),
limit=list_lines,
sort_on=(('stock.date', 'desc'),
......
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