Changes for page homeopathsSheet

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

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

Summary

Details

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