File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1810,6 +1810,10 @@ define([
18101810 rowSelection . append ( ')' ) ;
18111811 } else {
18121812 rowSelection . appendFormat ( '({0}' , varName ) ;
1813+ if ( colName == '.index' ) {
1814+ // index
1815+ rowSelection . append ( '.index' ) ;
1816+ }
18131817 oper && rowSelection . appendFormat ( ' {0}' , oper ) ;
18141818 if ( cond ) {
18151819 // condition value as text
@@ -1863,7 +1867,7 @@ define([
18631867 var colList = [ ] ;
18641868 for ( var i = 0 ; i < colTags . length ; i ++ ) {
18651869 var colValue = $ ( colTags [ i ] ) . data ( 'code' ) ;
1866- if ( colValue ) {
1870+ if ( colValue !== undefined ) {
18671871 colList . push ( colValue ) ;
18681872 }
18691873 }
@@ -1873,7 +1877,7 @@ define([
18731877 $ ( this . wrapSelector ( '.' + VP_DS_TO_FRAME ) ) . parent ( ) . show ( ) ;
18741878
18751879 // to frame
1876- if ( this . state . toFrame ) {
1880+ if ( this . state . toFrame === true ) {
18771881 colSelection . appendFormat ( '[{0}]' , colList . toString ( ) ) ;
18781882 this . state . returnType = 'DataFrame' ;
18791883 } else {
You can’t perform that action at this time.
0 commit comments