diff options
author | Abyss777 <abyss@fox5.ru> | 2016-12-02 15:59:45 +0700 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-12-04 17:47:22 +0700 |
commit | a3641de343252f405df7970c97c72fff3e7405b9 (patch) | |
tree | 837ca1f3382fd67fd1c2a12b56d3f553e6741242 /web/app/store | |
parent | f8bf7ede29f2e063a30721e8ed415a6184646424 (diff) | |
download | trackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.tar.gz trackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.tar.bz2 trackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.zip |
Use model instead of attributes to store notifications options
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/Notifications.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/store/Notifications.js b/web/app/store/Notifications.js index e4d2991a..d79702fc 100644 --- a/web/app/store/Notifications.js +++ b/web/app/store/Notifications.js @@ -22,5 +22,7 @@ Ext.define('Traccar.store.Notifications', { proxy: { type: 'rest', url: 'api/users/notifications' - } + }, + sortOnLoad: true, + sorters: { property: 'type', direction : 'ASC' } }); |