@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 a cursor paging issue in Conduit call logs

Summary: Fixes T13423. The "Query" class for conduit call logs is missing a "withIDs()" method.

Test Plan: Paged through Conduit call logs.

Maniphest Tasks: T13423

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

+13
+13
src/applications/conduit/query/PhabricatorConduitLogQuery.php
··· 3 3 final class PhabricatorConduitLogQuery 4 4 extends PhabricatorCursorPagedPolicyAwareQuery { 5 5 6 + private $ids; 6 7 private $callerPHIDs; 7 8 private $methods; 8 9 private $methodStatuses; 9 10 private $epochMin; 10 11 private $epochMax; 12 + 13 + public function withIDs(array $ids) { 14 + $this->ids = $ids; 15 + return $this; 16 + } 11 17 12 18 public function withCallerPHIDs(array $phids) { 13 19 $this->callerPHIDs = $phids; ··· 40 46 41 47 protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) { 42 48 $where = parent::buildWhereClauseParts($conn); 49 + 50 + if ($this->ids !== null) { 51 + $where[] = qsprintf( 52 + $conn, 53 + 'id IN (%Ld)', 54 + $this->ids); 55 + } 43 56 44 57 if ($this->callerPHIDs !== null) { 45 58 $where[] = qsprintf(