mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +01:00
Fix missing SearchExecutor reference from D788.
This commit is contained in:
parent
314e33c905
commit
e137080d9c
2 changed files with 3 additions and 3 deletions
|
@ -51,8 +51,8 @@ class PhabricatorSearchSelectController
|
|||
break;
|
||||
}
|
||||
|
||||
$exec = new PhabricatorSearchMySQLExecutor();
|
||||
$results = $exec->executeSearch($query);
|
||||
$engine = PhabricatorSearchEngineSelector::newSelector()->newEngine();
|
||||
$results = $engine->executeSearch($query);
|
||||
|
||||
$phids = array_fill_keys(ipull($results, 'phid'), true);
|
||||
$phids += $this->queryObjectNames($query_str);
|
||||
|
|
|
@ -13,7 +13,7 @@ phutil_require_module('phabricator', 'applications/phid/constants');
|
|||
phutil_require_module('phabricator', 'applications/phid/handle/data');
|
||||
phutil_require_module('phabricator', 'applications/phid/handle/view/selector');
|
||||
phutil_require_module('phabricator', 'applications/search/controller/search');
|
||||
phutil_require_module('phabricator', 'applications/search/execute/mysql');
|
||||
phutil_require_module('phabricator', 'applications/search/selector/base');
|
||||
phutil_require_module('phabricator', 'applications/search/storage/query');
|
||||
|
||||
phutil_require_module('phutil', 'utils');
|
||||
|
|
Loading…
Reference in a new issue