always show all unread messages
This commit is contained in:
parent
fb924fdc03
commit
63220a656f
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ class NotificationsListing(ConceptView):
|
||||||
dateFrom = parseDate(dateFrom)
|
dateFrom = parseDate(dateFrom)
|
||||||
result = []
|
result = []
|
||||||
for track in self.getNotifications(unreadOnly):
|
for track in self.getNotifications(unreadOnly):
|
||||||
if dateFrom and track.timeStamp < dateFrom:
|
|
||||||
continue
|
|
||||||
data = track.data
|
data = track.data
|
||||||
|
if dateFrom and track.timeStamp < dateFrom and data.get('read_ts'):
|
||||||
|
continue
|
||||||
s = util.getObjectForUid(data.get('sender'))
|
s = util.getObjectForUid(data.get('sender'))
|
||||||
if s is None:
|
if s is None:
|
||||||
sender = dict(label=u'???', url=u'')
|
sender = dict(label=u'???', url=u'')
|
||||||
|
|
Loading…
Add table
Reference in a new issue