mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Dashboards - fix optionality of SearchEngines
Summary: Ref T7234. I didn't know about this spot in D11750. Test Plan: ..the next diff really makes this work for the T7234 scenario. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7234 Differential Revision: https://secure.phabricator.com/D11751
This commit is contained in:
parent
e23351ea36
commit
6b77dd8e37
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ final class PhabricatorDashboardPanelSearchApplicationCustomField
|
||||||
$engines = id(new PhutilSymbolLoader())
|
$engines = id(new PhutilSymbolLoader())
|
||||||
->setAncestorClass('PhabricatorApplicationSearchEngine')
|
->setAncestorClass('PhabricatorApplicationSearchEngine')
|
||||||
->loadObjects();
|
->loadObjects();
|
||||||
|
$engines = mfilter($engines, 'canUseInPanelContext');
|
||||||
$all_apps = id(new PhabricatorApplicationQuery())
|
$all_apps = id(new PhabricatorApplicationQuery())
|
||||||
->setViewer($this->getViewer())
|
->setViewer($this->getViewer())
|
||||||
->withUnlisted(false)
|
->withUnlisted(false)
|
||||||
|
|
Loading…
Reference in a new issue