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

Fix Alamanc service paging

Summary: Ref T8686. This method has the wrong name and calls a nonexistent method on `$service`.

Test Plan: Set page size to 5, paged locally, hit error, applied changes, got clean paging.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8686

Differential Revision: https://secure.phabricator.com/D13460
This commit is contained in:
epriestley 2015-06-26 15:45:43 -07:00
parent b1a843b21a
commit 7c3a7f47cd

View file

@ -194,11 +194,11 @@ final class AlmanacServiceQuery
);
}
protected function getValueMap($cursor, array $keys) {
protected function getPagingValueMap($cursor, array $keys) {
$service = $this->loadCursorObject($cursor);
return array(
'id' => $service->getID(),
'name' => $service->getServiceName(),
'name' => $service->getName(),
);
}