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

Worklist.py: get reference as id.

parent 1272ff5b
...@@ -112,7 +112,7 @@ class Worklist(IdAsReferenceMixin("worklist_", "prefix"), XMLObject): ...@@ -112,7 +112,7 @@ class Worklist(IdAsReferenceMixin("worklist_", "prefix"), XMLObject):
res = [] res = []
res.append(self.getParentValue().getStateVariable()) res.append(self.getParentValue().getStateVariable())
for vdef in self.getParentValue().contentValues(portal_type="Variable"): for vdef in self.getParentValue().contentValues(portal_type="Variable"):
id = vdef.getId() id = vdef.getReference()
if vdef.for_catalog: if vdef.for_catalog:
res.append(id) res.append(id)
res.sort() res.sort()
......
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