Skip to content

Commit d154085

Browse files
committed
Revert to previous cell visibility determination algorithm.
Functional revert of ece4290
1 parent 3b5465a commit d154085

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

MDX2JSON/ResultSet.cls.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Returns array of Axes</Description>
150150
set tLevelNo = $LG(tNode,11)
151151
152152
set cell.caption = ##class(%DeepSee.UserPortal.Utils).%ResolveText($LG(tNode,5)) // text caption
153-
set cell.vis = $LG(tNode,2) // visibility helper
153+
set cell.vis = $LG(tNode,2) // visibility helper - does not help (apperently it shows if the cell is the lowest level)
154154
set cell.format = $LG(tNode,12) // format for numbers, eg: $## ###.##
155155
set cell.total = $LG(tNode,8) //COUNT,AVG function
156156
set cell.type = $LG(tNode,1) // mbr,cmbr,lit,exp
@@ -197,7 +197,7 @@ Returns array of Axes</Description>
197197
}
198198
199199
//To filter out invisible сells
200-
if 'cell.vis {
200+
if (..IsCellNull(cell, AxisNumber, Node)=1) {
201201
return cell.children
202202
}
203203

MDX2JSON/Tests.cls.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Classes with support methods for testing MDX2JSON</Description>
88

99
<Parameter name="LastCommit">
1010
<Type>%String</Type>
11-
<Default>b383736ea09bb92a270223b0d691cba11963f47a</Default>
11+
<Default>3b5465ad3b87b7087bb1422cff29b320b2f7a7a9</Default>
1212
</Parameter>
1313

1414
<Parameter name="LastCommitTS">
1515
<Type>%TimeStamp</Type>
16-
<Default>2018-02-06 14:16:09.314</Default>
16+
<Default>2018-02-06 14:56:57.020</Default>
1717
</Parameter>
1818

1919
<Method name="ProjectLength">

0 commit comments

Comments
 (0)