Private
Public Access
1
0

starting some ajax

This commit is contained in:
Sander Roosendaal
2019-08-27 11:59:13 +02:00
parent fce222ebeb
commit 0adaf12495
4 changed files with 114 additions and 48 deletions

View File

@@ -108,6 +108,7 @@ def alert_get_stats(alert,nperiod=0):
'nr_strokes':0,
'nr_strokes_qualifying':0,
'percentage':0,
'nperiod':nperiod,
}
# check if filters are in columns list
@@ -139,6 +140,7 @@ def alert_get_stats(alert,nperiod=0):
'nr_strokes':0,
'nr_strokes_qualifying':0,
'percentage':0,
'nperiod':nperiod,
}
@@ -175,6 +177,7 @@ def alert_get_stats(alert,nperiod=0):
'nr_strokes':nr_strokes,
'nr_strokes_qualifying':nr_strokes_qualifying,
'percentage': percentage,
'nperiod':nperiod,
}
# run alert report