Return sub_labels in event summary information. (#5642)

This commit is contained in:
Dermot Duffy 2023-03-05 09:39:41 -08:00 committed by GitHub
parent c20c982ad0
commit e8d8cc4f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ def events_summary():
Event.select(
Event.camera,
Event.label,
Event.sub_label,
fn.strftime(
"%Y-%m-%d",
fn.datetime(
@ -124,6 +125,7 @@ def events_summary():
.group_by(
Event.camera,
Event.label,
Event.sub_label,
fn.strftime(
"%Y-%m-%d",
fn.datetime(