mark off TODO, only local notices in public stream

darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz
This commit is contained in:
Evan Prodromou 2008-06-13 11:24:20 -04:00
parent a86477aad3
commit 1d8aa56808
3 changed files with 8 additions and 2 deletions

View File

@ -48,7 +48,9 @@ class PublicAction extends StreamAction {
$notice = DB_DataObject::factory('notice'); $notice = DB_DataObject::factory('notice');
# XXX: filter out private notifications # FIXME: bad performance
$notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
$notice->orderBy('created DESC'); $notice->orderBy('created DESC');

View File

@ -36,6 +36,10 @@ class PublicrssAction extends Rss10Action {
$notice = DB_DataObject::factory('notice'); $notice = DB_DataObject::factory('notice');
# FIXME: bad performance
$notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
$notice->orderBy('created DESC'); $notice->orderBy('created DESC');
if ($limit != 0) { if ($limit != 0) {

View File

@ -147,7 +147,7 @@ First public release (theoretically). Added distributed subscriptions,
+ correct use of views menu in settings + correct use of views menu in settings
+ correct use of views menu in streams + correct use of views menu in streams
- INSTALL file - INSTALL file
- content negotiation for content type + content negotiation for content type
Release 0.4 Release 0.4
----------- -----------