avoid duplication of data if context is cyclically assigned to itself
This commit is contained in:
parent
7cb0cf0d95
commit
9bf69e88b3
1 changed files with 2 additions and 1 deletions
|
@ -344,7 +344,8 @@ class WorkReportInstance(ReportInstance):
|
|||
def getAllSubtasks(self, concept, checked=None):
|
||||
result = []
|
||||
if checked is None:
|
||||
checked = set()
|
||||
#checked = set()
|
||||
checked = set([concept])
|
||||
for c in concept.getChildren([self.view.defaultPredicate]):
|
||||
if c.conceptType in self.taskTypes and c not in checked:
|
||||
result.append(c)
|
||||
|
|
Loading…
Add table
Reference in a new issue