* StatusNet - the distributed open-source microblogging tool
* Copyright (C) 2011, StatusNet, Inc.
*
- * Stream of notices for a people tag
+ * Stream of notices for a list
*
* PHP version 5
*
}
/**
- * Stream of notices for a people tag
+ * Stream of notices for a list
*
* @category Stream
* @package StatusNet
$profile = Profile::current();
}
parent::__construct(new CachingNoticeStream(new RawPeopletagNoticeStream($plist),
- 'profile_tag:notice_ids:' . $plist->id),
+ 'profile_list:notice_ids:' . $plist->id),
$profile);
}
}
/**
- * Stream of notices for a people tag
+ * Stream of notices for a list
*
* @category Stream
* @package StatusNet
$ptag = new Profile_tag();
$ptag->tag = $this->profile_list->tag;
$ptag->tagger = $this->profile_list->tagger;
- $notice->joinAdd($ptag);
+ $notice->joinAdd(array('profile_id', 'profile_tag:tagged'));
+ $notice->whereAdd('profile_tag.tagger = ' . $this->profile_list->tagger);
+ $notice->whereAdd(sprintf('profile_tag.tag = "%s"', $this->profile_list->tag));
if ($since_id != 0) {
$notice->whereAdd('notice.id > ' . $since_id);