Roll back uncommon features

Refs #2249
This commit is contained in:
Samuel Georges 2016-07-30 12:04:21 +10:00
parent ec47cba33f
commit 96eba6febc
2 changed files with 14 additions and 26 deletions

View File

@ -4,27 +4,14 @@
scopes:
is_activated:
label: backend::lang.user.activated
type: checkbox
conditions: is_activated = 1
is_superuser:
label: backend::lang.user.superuser
type: checkbox
conditions: is_superuser = 1
type: switch
conditions:
- is_superuser = 0
- is_superuser = 1
login_date:
label: backend::lang.user.last_login
type: daterange
conditions: last_login >= ':after' AND last_login <= ':before'
created_date:
label: backend::lang.user.created_at
type: daterange
conditions: created_at >= ':after' AND created_at <= ':before'
updated_date:
label: backend::lang.user.updated_at
type: daterange
conditions: updated_at >= ':after' AND updated_at <= ':before'

View File

@ -35,15 +35,6 @@ columns:
select: name
sortable: false
is_activated:
label: backend::lang.user.activated
invisible: true
type: switch
is_superuser:
label: backend::lang.user.superuser
type: switch
last_login:
label: backend::lang.user.last_login
searchable: true
@ -60,3 +51,13 @@ columns:
searchable: true
invisible: true
type: datetime
is_activated:
label: backend::lang.user.activated
invisible: true
type: switch
is_superuser:
label: backend::lang.user.superuser
invisible: true
type: switch