filter behaviour WIP

This commit is contained in:
Jan Prochazka 2024-08-19 12:51:38 +02:00
parent c3609e8c7b
commit 17cf9d5007
2 changed files with 3 additions and 2 deletions

View File

@ -349,7 +349,7 @@
import registerCommand from '../commands/registerCommand';
import ColumnHeaderControl from './ColumnHeaderControl.svelte';
import DataGridRow from './DataGridRow.svelte';
import { getFilterValueExpression } from 'dbgate-filterparser';
import { getFilterValueExpression } from 'dbgate-filterparser';
import stableStringify from 'json-stable-stringify';
import contextMenu, { getContextMenu, registerMenu } from '../utility/contextMenu';
import { tick } from 'svelte';

View File

@ -7,6 +7,7 @@
import FontIcon from '../icons/FontIcon.svelte';
import keycodes from '../utility/keycodes';
import FormViewFilterColumn from './FormViewFilterColumn.svelte';
import { stringFilterBehaviour } from 'dbgate-tools';
// import PrimaryKeyFilterEditor from './PrimaryKeyFilterEditor.svelte';
export let managerSize;
@ -76,7 +77,7 @@
</div>
<DataFilterControl
filterType="string"
filterBehaviour={stringFilterBehaviour}
filter={multiColumnFilter}
setFilter={value => display.setMutliColumnFilter(value)}
{driver}