Skip to content

Commit

Permalink
#7852 fix filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
piorek committed Dec 12, 2018
1 parent 05c547c commit 74b9715
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/notebook/src/tableDisplay/dataGrid/column/ColumnFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class ColumnFilter {
static escapeColumnName(columnName: string): string {
return String(columnName)
.replace(/\s+/g, '_')
.replace('/\W+/g', '');
.replace(/\W+/g, '');
}

constructor(dataGrid: BeakerXDataGrid, column: DataGridColumn, options: { x, y, width, height }) {
Expand Down Expand Up @@ -145,6 +145,8 @@ export default class ColumnFilter {
return;
}

debugger;

if (this.useSearch) {
return this.column.search(this.createExpression(this.filterInput.value));
}
Expand Down

0 comments on commit 74b9715

Please sign in to comment.