From 41e7abfd2ec68cf4c673dc87951669506b6f38c6 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 23 Dec 2017 20:03:44 -0500 Subject: #570 persistent sort by --- www/js/DataModel.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 1c74255b..a748bc2d 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -172,6 +172,7 @@ angular.module('zmApp.controllers') 'momentGridSize': 40, 'momentMonitorFilter': [], 'enableMomentSubMenu': true, + 'momentArrangeBy': 'StartTime', }; @@ -1039,6 +1040,13 @@ angular.module('zmApp.controllers') loginData.momentMonitorFilter = JSON.stringify([]); } + + + if (typeof loginData.momentArrangeBy == 'undefined') { + + loginData.momentArrangeBy = "StartTime"; + + } -- cgit v1.2.3