Fixed overall stats requests
MODIFY
src/assets/server/rest/v1/schemas/statistic/statistics-export.json
src/assets/server/rest/v1/schemas/statistic/statistics-export.json
"type": "string",
"enum": [
"year",
- "month"
+ "month",
+ "total"
],
"sanitize": "mongo"
}

MODIFY
src/assets/server/rest/v1/schemas/statistic/statistics-get.json
src/assets/server/rest/v1/schemas/statistic/statistics-get.json
"properties": {
"Year": {
"type": "number",
- "sanitize": "mongo"
+ "sanitize": "mongo",
+ "default": 0
},
"StartDateTime": {
"type": "string",

Fixed overall stats requests