fix: LIKE operator in table filter not properly working, closes #242

This commit is contained in:
Fabio Di Stasio 2022-05-03 14:34:27 +02:00
parent 0fa22fbe72
commit eb1afed108
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ export default {
case 'IS NOT NULL':
value = '';
break;
case 'LIKE':
value = `${sw}%${filter.value}%${sw}`;
break;
default:
value = `${sw}${filter.value}${sw}`;
}