Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 1.53
edited by Jip-jan Alunkel
on March 07, 23:34
Change comment: There is no comment for this version
To version 1.56
edited by Jip-jan Alunkel
on March 07, 23:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -77,8 +77,11 @@
77 77   #set($children = {})
78 78   #foreach($item in $classProperties.keySet())
79 79   #if($classProperties[$item].parent)
80 +$classProperties[$parentID]
80 80   #set($parentID = $classProperties[$item].parent)
81 - #set($discard = $children.put("$parentID", {}))
82 + #if(!$classProperties[$parentID])
83 + #set($discard = $children.put("$parentID", {}))
84 + #end
82 82   #set($discard = $children["$parentID"].put($item, $classProperties[$item]))
83 83   #end
84 84   #end