Commit ebab5f45 authored by Tristan Cavelier's avatar Tristan Cavelier

XXX Don't load worklist by default

parent 4688c55e
...@@ -432,7 +432,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url): ...@@ -432,7 +432,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url):
'category': metadata['action_box_category']}) 'category': metadata['action_box_category']})
return action_list return action_list
def WorkflowTool_listActions(self, info=None, object=None, src__=False): def WorkflowTool_listActions(self, info=None, object=None, include_worklist=False, src__=False):
""" """
Returns a list of actions to be displayed to the user. Returns a list of actions to be displayed to the user.
...@@ -478,7 +478,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False): ...@@ -478,7 +478,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False):
if a is not None: if a is not None:
worklist_dict[wf_id] = a worklist_dict[wf_id] = a
if worklist_dict: if include_worklist and worklist_dict:
portal = self.getPortalObject() portal = self.getPortalObject()
portal_url = portal.portal_url() portal_url = portal.portal_url()
def _getWorklistActionList(): def _getWorklistActionList():
......
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