diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 11:08:00 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 11:08:00 -0500 |
| commit | 85d0cf4508b00e52f7c3c0b437541eb4702c660a (patch) | |
| tree | 1dabd0cc6d84e978b1d1f296f6e98ef063ffda23 /www/js/DataModel.js | |
| parent | 8cc0496efc897a7fc9b03be30839b4dc6f25c071 (diff) | |
#103 - moving alarm count to the API
Former-commit-id: 15614ad820631a3d202bbecd5ae83e6a7c15540e
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index c053bde8..fa64eeb8 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -986,6 +986,10 @@ angular.module('zmApp.controllers') myurl = myurl + "/StartTime >=:"+startTime; if (endTime) myurl = myurl + "/EndTime <=:"+endTime; + + myurl = myurl + "/AlarmFrames >=:" + $rootScope.minAlarmCount; + + myurl = myurl + ".json"; console.log (">>>>>Constructed URL " + myurl); @@ -1060,6 +1064,8 @@ angular.module('zmApp.controllers') myurl = myurl + "/StartTime >=:"+startTime; if (endTime) myurl = myurl + "/EndTime <=:"+endTime; + + myurl = myurl + "/AlarmFrames >=:" + $rootScope.minAlarmCount; myurl = myurl + ".json"; |
