Commit 72c4d59d authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[erp5_core] Mass Workflow Transition retrieves worflows only on the first 1000 documents

parent 53e7f174
......@@ -33,7 +33,7 @@ if add_empty:
transition_dict = {}
for result in context.Base_searchUsingFormIdAndQuery(form_id, query):
for result in context.Base_searchUsingFormIdAndQuery(form_id, query, limit=1000):
for action in action_tool.listFilteredActionsFor(result.getObject()).get('workflow', []):
transition_dict[action['id']] = action['title']
......
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