Merge pull request #3188 from KeyboardNerd/sidchen/notification_datetime_bug

Fixes empty "created" field in notification
This commit is contained in:
Sida Chen 2018-08-06 12:58:38 -04:00 committed by GitHub
commit 6efe262217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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