filter behaviour WIP

This commit is contained in:
Jan Prochazka
2024-08-19 12:49:26 +02:00
parent 2a48e0c4a0
commit c3609e8c7b
24 changed files with 105 additions and 76 deletions

View File

@@ -10,7 +10,7 @@ import {
referenceIsConnecting,
mergeSelectsFromDesigner,
findQuerySource,
findDesignerFilterType,
findDesignerFilterBehaviour,
} from './designerTools';
import { parseFilter } from 'dbgate-filterparser';
@@ -83,7 +83,7 @@ export class DesignerQueryDumper {
}
try {
const condition = parseFilter(column[filterField], findDesignerFilterType(column, this.designer));
const condition = parseFilter(column[filterField], findDesignerFilterBehaviour(column, this.designer));
if (condition) {
conditions.push(
_.cloneDeepWith(condition, expr => {