File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1810,6 +1810,10 @@ define([
1810
1810
rowSelection . append ( ')' ) ;
1811
1811
} else {
1812
1812
rowSelection . appendFormat ( '({0}' , varName ) ;
1813
+ if ( colName == '.index' ) {
1814
+ // index
1815
+ rowSelection . append ( '.index' ) ;
1816
+ }
1813
1817
oper && rowSelection . appendFormat ( ' {0}' , oper ) ;
1814
1818
if ( cond ) {
1815
1819
// condition value as text
@@ -1863,7 +1867,7 @@ define([
1863
1867
var colList = [ ] ;
1864
1868
for ( var i = 0 ; i < colTags . length ; i ++ ) {
1865
1869
var colValue = $ ( colTags [ i ] ) . data ( 'code' ) ;
1866
- if ( colValue ) {
1870
+ if ( colValue !== undefined ) {
1867
1871
colList . push ( colValue ) ;
1868
1872
}
1869
1873
}
@@ -1873,7 +1877,7 @@ define([
1873
1877
$ ( this . wrapSelector ( '.' + VP_DS_TO_FRAME ) ) . parent ( ) . show ( ) ;
1874
1878
1875
1879
// to frame
1876
- if ( this . state . toFrame ) {
1880
+ if ( this . state . toFrame === true ) {
1877
1881
colSelection . appendFormat ( '[{0}]' , colList . toString ( ) ) ;
1878
1882
this . state . returnType = 'DataFrame' ;
1879
1883
} else {
You can’t perform that action at this time.
0 commit comments