Skip to content

Commit f34c5ac

Browse files
authored
Update DashboardFilters.cls
1 parent 8e706ab commit f34c5ac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

MDX2JSON/DashboardFilters.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ ClassMethod WidgetFiltersToProxyObject(Widget As %DeepSee.Dashboard.Widget, Cube
4848
/// Converts %DeepSee.Dashboard.Control object into %ZEN.proxyObject, handles run-time DeepSee variables.
4949
ClassMethod WidgetControlToProxyObject(Widget As %DeepSee.Dashboard.Widget, Number As %Integer, Cube As %String) As %ZEN.proxyObject [ Internal ]
5050
{
51+
// last OR is suppose to show filters variable in dropdown menu in case of applyVariable type filter
5152
return:((Widget.controls.GetAt(Number).action="applyFilter") || (Widget.controls.GetAt(Number).action="setFilter") || (Widget.controls.GetAt(Number).action="applyVariable")) ""
5253
return ##class(MDX2JSON.Dashboard).WidgetControlToProxyObject(Widget,Number,Cube)
5354
}
5455

5556
/// Converts %DeepSee.Dashboard.Control object into %ZEN.proxyObject, handles run-time DeepSee variables.
5657
ClassMethod WidgetFilterToProxyObject(Widget As %DeepSee.Dashboard.Widget, Number As %Integer, Cube As %String) As %ZEN.proxyObject [ Internal ]
5758
{
59+
// last OR is suppose to show filters variable in dropdown menu in case of applyVariable type filter
5860
return:'((Widget.controls.GetAt(Number).action="applyFilter") || (Widget.controls.GetAt(Number).action="setFilter") || (Widget.controls.GetAt(Number).action="applyVariable")) ""
5961
return ##class(MDX2JSON.Dashboard).WidgetControlToProxyObject(Widget,Number,Cube)
6062
}

0 commit comments

Comments
 (0)