1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

Phame - "fix" blog feed

Summary: we don't post enough so this got reported as broken. Instead of specifying a published after date, just let the query class fetch the natural pagination limit ordered by id, and PHP will sort by publishedDate per usual. While its possible we might not get the right stuff relative to published date, its highly, highly unlikely given the large pagination size.

Test Plan: loaded up the blog xml link

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5593
This commit is contained in:
Bob Trahan 2013-04-05 12:12:49 -07:00
parent c2960aa743
commit 53f6936b8a

View file

@ -31,7 +31,6 @@ final class PhameBlogFeedController extends PhameController {
->setViewer($user)
->withBlogPHIDs(array($blog->getPHID()))
->withVisibility(PhamePost::VISIBILITY_PUBLISHED)
->withPublishedAfter(strtotime('-1 month'))
->execute();
$content = array();