Skip to content

Commit e5d7196

Browse files
authored
Merge pull request #136 from Frisle/patch-1
FIX: when axis with "agg" type received a children object
2 parents d03566b + 6625964 commit e5d7196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MDX2JSON/ResultSet.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Method ProcessOneAxisCell(CubeIndex, AxisKey, CubeName, QueryKey, AxisNumber, No
130130
set cell.vis = $LG(tNode,2) // visibility helper - does not help (apperently it shows if the cell is the lowest level)
131131

132132
// now we process cell children, if any exist
133-
if ($D($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch")) = 10) {
133+
if ($D($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch")) = 10) && ($LG(tNode, 1)'="agg") {
134134
set cell.children = $$$NewDynObjList
135135
set key = $O($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch", ""))
136136
while (key'="") {

0 commit comments

Comments
 (0)