Fixes empty "created" field in notification

Fixes https://jira.coreos.com/browse/QUAY-1022
This commit is contained in:
Sida Chen 2018-08-01 17:17:47 -04:00
parent 6c7a4215ac
commit 415631153a

View file

@ -46,6 +46,7 @@ def list_notifications(user, kind_name=None, id_filter=None, include_dismissed=F
Notification.metadata_json, Notification.metadata_json,
Notification.dismissed, Notification.dismissed,
Notification.lookup_path, Notification.lookup_path,
Notification.created,
Notification.created.alias('cd'), Notification.created.alias('cd'),
Notification.target) Notification.target)
.join(NotificationKind)) .join(NotificationKind))