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

[Redesign] Fix People Log Query

Summary: Fixes T8642, This is a table, but not returned as one. Set it to Content for now with a Collapsed layout.

Test Plan: Test /people/logs/

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8642

Differential Revision: https://secure.phabricator.com/D13395
This commit is contained in:
Chad Little 2015-06-22 22:10:07 +01:00
parent 5538427d8a
commit dbdeca58fc
2 changed files with 5 additions and 1 deletions

View file

@ -187,7 +187,8 @@ final class PhabricatorPeopleLogSearchEngine
} }
$result = new PhabricatorApplicationSearchResultView(); $result = new PhabricatorApplicationSearchResultView();
$result->setTable($table); $result->setContent($table);
$result->setCollapsed(true);
return $result; return $result;
} }

View file

@ -249,6 +249,9 @@ final class PhabricatorApplicationSearchController
if ($list->getContent()) { if ($list->getContent()) {
$box->appendChild($list->getContent()); $box->appendChild($list->getContent());
} }
if ($list->getCollapsed()) {
$box->setCollapsed(true);
}
if ($pager->willShowPagingControls()) { if ($pager->willShowPagingControls()) {
$pager_box = id(new PHUIBoxView()) $pager_box = id(new PHUIBoxView())