mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-20 11:48:16 +00:00
Fix slight bug in expansion code,
a non-expanded node was causing all parent levels to not expand.
This commit is contained in:
parent
e2197ddab9
commit
19e94da6b6
@ -28,7 +28,7 @@ def ensure_exists(output,categories,expanded):
|
||||
if item.level == currentitem:
|
||||
found = True
|
||||
item.filecount = item.filecount + 1
|
||||
item.expanded = expanded
|
||||
item.expanded = expanded | item.expanded
|
||||
ensure_exists(item.children,categories[1:],expanded)
|
||||
if not found:
|
||||
newlevel = DocumentDirectory(level=currentitem)
|
||||
|
Loading…
x
Reference in New Issue
Block a user