@ -19,8 +19,6 @@ export const convertFilterToWhereClause = (
|
|||||||
|
|
||||||
const where = filter.comparisons
|
const where = filter.comparisons
|
||||||
.map((comparison) => {
|
.map((comparison) => {
|
||||||
if (!comparison.value) return ''
|
|
||||||
|
|
||||||
switch (comparison.operator) {
|
switch (comparison.operator) {
|
||||||
case 'Not equal':
|
case 'Not equal':
|
||||||
return `(${comparison.input},ne,${comparison.value})`
|
return `(${comparison.input},ne,${comparison.value})`
|
||||||
|
Reference in New Issue
Block a user