From 69cd14f4714a9b34fabd652a3d0554f42bd82bfe Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 18 May 2022 16:03:34 +0300 Subject: [PATCH] fix filter bool any --- client/src/views/fields/bool.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/client/src/views/fields/bool.js b/client/src/views/fields/bool.js index ae074fc42e..0d648d7cb4 100644 --- a/client/src/views/fields/bool.js +++ b/client/src/views/fields/bool.js @@ -74,8 +74,18 @@ define('views/fields/bool', 'views/fields/base', function (Dep) { if (type === 'any') { return { - type: 'in', - value: [true, false], + type: 'or', + value: [ + { + type: 'isTrue', + attribute: this.name, + + }, + { + type: 'isFalse', + attribute: this.name, + }, + ], data: { type: type, },