Commit ea274355 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Folder_viezSearchDialog.py: get workflow id without using accessor.

parent 13919866
...@@ -321,7 +321,7 @@ def getSearchDialog(self, REQUEST=None): ...@@ -321,7 +321,7 @@ def getSearchDialog(self, REQUEST=None):
# possible workflow states # possible workflow states
for type_name in allowed_content_types: for type_name in allowed_content_types:
for workflow in workflow_tool.getWorkflowsFor(type_name): for workflow in workflow_tool.getWorkflowsFor(type_name):
workflow_id = workflow.getId() workflow_id = workflow.id
state_var = workflow.getStateVariable() state_var = workflow.getStateVariable()
if state_var in workflow_set: if state_var in workflow_set:
......
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