aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Users.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/edit/Users.js')
-rw-r--r--web/app/view/edit/Users.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/web/app/view/edit/Users.js b/web/app/view/edit/Users.js
index 4356b166..0aafb3dd 100644
--- a/web/app/view/edit/Users.js
+++ b/web/app/view/edit/Users.js
@@ -96,30 +96,36 @@ Ext.define('Traccar.view.edit.Users', {
},
items: [{
text: Strings.sharedName,
- dataIndex: 'name'
+ dataIndex: 'name',
+ filter: 'string'
}, {
text: Strings.userEmail,
dataIndex: 'email',
filter: 'string'
}, {
text: Strings.userAdmin,
- dataIndex: 'admin'
+ dataIndex: 'admin',
+ filter: 'boolean'
}, {
text: Strings.serverReadonly,
dataIndex: 'readonly',
- hidden: true
+ hidden: true,
+ filter: 'boolean'
}, {
text: Strings.userDeviceReadonly,
dataIndex: 'deviceReadonly',
- hidden: true
+ hidden: true,
+ filter: 'boolean'
}, {
text: Strings.userDisabled,
- dataIndex: 'disabled'
+ dataIndex: 'disabled',
+ filter: 'boolean'
}, {
text: Strings.userExpirationTime,
dataIndex: 'expirationTime',
hidden: true,
- renderer: Traccar.AttributeFormatter.getFormatter('expirationTime')
+ renderer: Traccar.AttributeFormatter.getFormatter('expirationTime'),
+ filter: 'date'
}]
}
});