From 53f6936b8a429ca335ed637352bc2941c73896de Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Fri, 5 Apr 2013 12:12:49 -0700 Subject: [PATCH] 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 --- .../phame/controller/blog/PhameBlogFeedController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/applications/phame/controller/blog/PhameBlogFeedController.php b/src/applications/phame/controller/blog/PhameBlogFeedController.php index ecb07c5644..e72e51edfa 100644 --- a/src/applications/phame/controller/blog/PhameBlogFeedController.php +++ b/src/applications/phame/controller/blog/PhameBlogFeedController.php @@ -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();