1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Fix a followup notification paging error with partial objects

Summary: Ref T13623. In D21603, I made the "partial object" this query returns a raw row, which paging keys can no longer be extracted from properly.

Test Plan: Paged notifications to page 2, no longer saw an error.

Maniphest Tasks: T13623

Differential Revision: https://secure.phabricator.com/D21609
This commit is contained in:
epriestley 2021-03-12 09:06:48 -08:00
parent 32da29b965
commit 4b529e6009

View file

@ -181,7 +181,7 @@ final class PhabricatorNotificationQuery
protected function newPagingMapFromPartialObject($object) { protected function newPagingMapFromPartialObject($object) {
return array( return array(
'key' => $object->getChronologicalKey(), 'key' => $object['chronologicalKey'],
); );
} }