diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-19 23:45:00 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 23:45:00 +1200 |
commit | 5a6044faac45b377efabe363655ec21790bd955b (patch) | |
tree | e5d60feb3a6d17775c4b63379920d9ff88aaa379 /web/app/view/edit/Users.js | |
parent | f3ce72afbd49ccde94178158147de7b378128a55 (diff) | |
parent | 56a5de3dc50e438884c5636c11f31e48bf19a15e (diff) | |
download | etbsa-traccar-web-5a6044faac45b377efabe363655ec21790bd955b.tar.gz etbsa-traccar-web-5a6044faac45b377efabe363655ec21790bd955b.tar.bz2 etbsa-traccar-web-5a6044faac45b377efabe363655ec21790bd955b.zip |
Merge pull request #507 from Abyss777/column_filters
Column filters to most windows
Diffstat (limited to 'web/app/view/edit/Users.js')
-rw-r--r-- | web/app/view/edit/Users.js | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/web/app/view/edit/Users.js b/web/app/view/edit/Users.js index 4356b16..0aafb3d 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' }] } }); |