aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-21 17:35:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-21 17:35:25 +1200
commite36f444cac7abef61dd63a7104f17e6b8de1637c (patch)
tree801f93bca1e18d441a19d43bf1a427ab52c8bfde /web/app/store
parent4a4b947cbbff599100e937400384b913b9152909 (diff)
downloadtraccar-server-e36f444cac7abef61dd63a7104f17e6b8de1637c.tar.gz
traccar-server-e36f444cac7abef61dd63a7104f17e6b8de1637c.tar.bz2
traccar-server-e36f444cac7abef61dd63a7104f17e6b8de1637c.zip
Implement parameters ordering
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/Parameters.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/app/store/Parameters.js b/web/app/store/Parameters.js
index 508dabc97..8b34d465b 100644
--- a/web/app/store/Parameters.js
+++ b/web/app/store/Parameters.js
@@ -16,5 +16,9 @@
Ext.define('Traccar.store.Parameters', {
extend: 'Ext.data.Store',
- model: 'Traccar.model.Parameter'
+ model: 'Traccar.model.Parameter',
+
+ sorters: [{
+ property: 'priority'
+ }]
});