Skip to content

Commit 1a41f63

Browse files
authored
Merge pull request octobercms#2477 from zerkms/USER_FILTER_SUPERUSER_BOOLEAN
[!!!] Fix for postgresql: you cannot compare a boolean column with integers
2 parents 5c5ffb7 + c9ba4c4 commit 1a41f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/backend/controllers/users/config_filter.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ scopes:
88
label: backend::lang.user.superuser
99
type: switch
1010
conditions:
11-
- is_superuser = 0
12-
- is_superuser = 1
11+
- is_superuser = false
12+
- is_superuser = true
1313

1414
login_date:
1515
label: backend::lang.user.last_login

0 commit comments

Comments
 (0)