Added order by.

Added more unit tests.
Remove comments.
This commit is contained in:
Rebecca Law
2019-01-14 15:28:26 +00:00
parent 92460fbd38
commit b5a3ef9576
3 changed files with 105 additions and 30 deletions

View File

@@ -585,11 +585,6 @@ def get_monthly_template_usage(service_id):
end_date=end_date,
service_id=service_id
)
# data = dao_fetch_monthly_historical_usage_by_template_for_service(
# service_id,
# int(request.args.get('year', 'NaN'))
# )
stats = list()
for i in data:
stats.append(