Changes for page homeopathsSheet

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

From version 1.52
edited by Jip-jan Alunkel
on March 07, 23:33
Change comment: There is no comment for this version
To version 1.59
edited by Jip-jan Alunkel
on March 07, 23:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -78,8 +78,11 @@
78 78   #foreach($item in $classProperties.keySet())
79 79   #if($classProperties[$item].parent)
80 80   #set($parentID = $classProperties[$item].parent)
81 - #set($discard = $children.put("$parentID", {}))
82 - #set($discard = $children["$parentID"].put($foreach.count, $classProperties[$item]))
81 +##$children[$parentID]
82 + #if(!$children[$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