@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix paging for 'before ID' queries

Test Plan: https://secure.phabricator.com/paste/filter/all/?before=157 - 158 is missing.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2330

vrana 11ffed7c 2bdde748

+2 -1
+2 -1
src/view/control/idpager/AphrontIDPagerView.php
··· 87 87 88 88 final public function sliceResults(array $results) { 89 89 if (count($results) > $this->getPageSize()) { 90 - $results = array_slice($results, 0, $this->getPageSize(), true); 90 + $offset = ($this->beforeID ? count($results) - $this->getPageSize() : 0); 91 + $results = array_slice($results, $offset, $this->getPageSize(), true); 91 92 } 92 93 return $results; 93 94 }