Added equal to the query in NotificationStream. Related to issue #116

This commit is contained in:
Knut Erik Hollund 2015-02-21 23:50:05 +01:00
parent 25207c89d1
commit 4aa94dd151

View File

@ -37,7 +37,7 @@ class NotificationStream
$notification->selectAdd();
$notification->selectAdd('id');
$notification->whereAdd(sprintf('qvitternotification.to_profile_id = "%s"', $notification->escape($this->target->id)));
$notification->whereAdd(sprintf('qvitternotification.created > "%s"', $notification->escape($this->target->created)));
$notification->whereAdd(sprintf('qvitternotification.created >= "%s"', $notification->escape($this->target->created)));
$notification->limit($offset, $limit);
$notification->orderBy('qvitternotification.created DESC');