@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 an issue with Diffusion where paging by commit date would fail

Summary: When loading the cursor repository, we need to load the most recent
commit too if we're paging by commit date. This fixes a fatal for installs
with more than 100 repositories.

Auditors: btrahan

+8 -3
+8 -3
src/applications/repository/query/PhabricatorRepositoryQuery.php
··· 163 163 } 164 164 165 165 private function loadCursorObject($id) { 166 - $results = id(new PhabricatorRepositoryQuery()) 166 + $query = id(new PhabricatorRepositoryQuery()) 167 167 ->setViewer($this->getPagingViewer()) 168 - ->withIDs(array((int)$id)) 169 - ->execute(); 168 + ->withIDs(array((int)$id)); 169 + 170 + if ($this->order == self::ORDER_COMMITTED) { 171 + $query->needMostRecentCommits(true); 172 + } 173 + 174 + $results = $query->execute(); 170 175 return head($results); 171 176 } 172 177