mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Mark answers as page objects in Ponder
Summary: Fixes T4306. We should clear notifications about a question and its answers when viewing a question page. (Eventually we might have an answer detail page and send the notification there, and then only clear there, but this cleans things up for now.) Test Plan: Loaded question page, verified answers appeared as page objects. Reviewers: chad, btrahan Reviewed By: chad CC: aran Maniphest Tasks: T4306 Differential Revision: https://secure.phabricator.com/D7928
This commit is contained in:
parent
b74c7a3d37
commit
306ef5ea72
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ final class PonderQuestionViewController extends PonderController {
|
|||
array(
|
||||
'device' => true,
|
||||
'title' => 'Q'.$question->getID().' '.$question->getTitle(),
|
||||
'pageObjects' => array($question->getPHID()),
|
||||
'pageObjects' => array_merge(
|
||||
array($question->getPHID()),
|
||||
mpull($question->getAnswers(), 'getPHID')),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue