Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.51
edited by Jip-jan Alunkel
on March 07, 23:33
on March 07, 23:33
Change comment:
There is no comment for this version
To version 1.55
edited by Jip-jan Alunkel
on March 07, 23:38
on March 07, 23:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -77,9 +77,12 @@ 77 77 #set($children = {}) 78 78 #foreach($item in $classProperties.keySet()) 79 79 #if($classProperties[$item].parent) 80 +$item 80 80 #set($parentID = $classProperties[$item].parent) 81 - #set($discard = $children.put("$parentID", {})) 82 - #set($discard = $children["$parentID"].put($foreach.count(), $classProperties[$item])) 82 + #if(!$classProperties[$parentID]) 83 + #set($discard = $children.put("$parentID", {})) 84 + #end 85 + #set($discard = $children["$parentID"].put($item, $classProperties[$item])) 83 83 #end 84 84 #end 85 85 $children