Merge pull request #117 from knuthollund/master
Added equal to the query in NotificationStream. Related to issue #116
This commit is contained in:
commit
fb6bcc2efe
|
@ -37,7 +37,7 @@ class NotificationStream
|
||||||
$notification->selectAdd();
|
$notification->selectAdd();
|
||||||
$notification->selectAdd('id');
|
$notification->selectAdd('id');
|
||||||
$notification->whereAdd(sprintf('qvitternotification.to_profile_id = "%s"', $notification->escape($this->target->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->limit($offset, $limit);
|
||||||
$notification->orderBy('qvitternotification.created DESC');
|
$notification->orderBy('qvitternotification.created DESC');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user