File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 47
47
"@hpcc-js/chart" : " 2.86.0" ,
48
48
"@hpcc-js/codemirror" : " 2.65.0" ,
49
49
"@hpcc-js/common" : " 2.73.0" ,
50
- "@hpcc-js/comms" : " 2.99.0 " ,
50
+ "@hpcc-js/comms" : " 2.99.1 " ,
51
51
"@hpcc-js/dataflow" : " 8.1.7" ,
52
52
"@hpcc-js/eclwatch" : " 2.76.1" ,
53
53
"@hpcc-js/graph" : " 2.87.0" ,
Original file line number Diff line number Diff line change @@ -41,14 +41,16 @@ export class ScopesTable extends Table {
41
41
field = filter . substring ( 0 , colonIdx ) ;
42
42
}
43
43
if ( field ) {
44
- const value : string = ! matchCase ? row [ field ] ?. toString ( ) . toLowerCase ( ) : row [ field ] ?. toString ( ) ;
44
+ const rawValue : string = ! matchCase ? row [ field ] ?. toString ( ) . toLowerCase ( ) : row [ field ] ?. toString ( ) ;
45
+ const formattedValue : string = ! matchCase ? row . __formattedProps [ field ] ?. toString ( ) . toLowerCase ( ) : row . __formattedProps [ field ] ?. toString ( ) ;
45
46
const filterValue : string = ! matchCase ? filter . toLowerCase ( ) : filter ;
46
- return value ?. indexOf ( filterValue . substring ( colonIdx + 1 ) ) >= 0 ?? false ;
47
+ return ( rawValue ?. indexOf ( filterValue . substring ( colonIdx + 1 ) ) >= 0 || formattedValue ?. indexOf ( filterValue . substring ( colonIdx + 1 ) ) >= 0 ) ?? false ;
47
48
}
48
49
for ( const field in row ) {
49
- const value : string = ! matchCase ? row [ field ] . toString ( ) . toLowerCase ( ) : row [ field ] . toString ( ) ;
50
+ const rawValue : string = ! matchCase ? row [ field ] ?. toString ( ) . toLowerCase ( ) : row [ field ] ?. toString ( ) ;
51
+ const formattedValue : string = ! matchCase ? row . __formattedProps [ field ] ?. toString ( ) . toLowerCase ( ) : row . __formattedProps [ field ] ?. toString ( ) ;
50
52
const filterValue : string = ! matchCase ? filter . toLowerCase ( ) : filter ;
51
- return value ?. indexOf ( filterValue ) >= 0 ?? false ;
53
+ return ( rawValue ?. indexOf ( filterValue ) >= 0 || formattedValue ?. indexOf ( filterValue ) >= 0 ) ?? false ;
52
54
}
53
55
return false ;
54
56
}
You can’t perform that action at this time.
0 commit comments