always show all unread messages

This commit is contained in:
Helmut Merz 2017-07-20 11:16:48 +02:00
parent fb924fdc03
commit 63220a656f

View file

@ -67,9 +67,9 @@ class NotificationsListing(ConceptView):
dateFrom = parseDate(dateFrom)
result = []
for track in self.getNotifications(unreadOnly):
if dateFrom and track.timeStamp < dateFrom:
continue
data = track.data
if dateFrom and track.timeStamp < dateFrom and data.get('read_ts'):
continue
s = util.getObjectForUid(data.get('sender'))
if s is None:
sender = dict(label=u'???', url=u'')