fix filter bool any

This commit is contained in:
Yuri Kuznetsov
2022-05-18 16:03:34 +03:00
parent 8c1494e17e
commit 69cd14f471
+12 -2
View File
@@ -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,
},