Removed the group by day aspects of template stats. Not needed. Grouped by template only.

This commit is contained in:
Martyn Inglis
2016-08-22 10:38:44 +01:00
parent 9eb559d4b2
commit b7476a1975
4 changed files with 62 additions and 49 deletions

View File

@@ -37,7 +37,6 @@ def get_template_statistics_for_service_by_day(service_id):
def serialize(data):
return {
'count': data.count,
'day': str(data.day),
'template_id': str(data.template_id),
'template_name': data.name,
'template_type': data.template_type