1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-21 03:08:40 +01:00

Fix "Attach <x>" dialog showing too much stuff

Summary: After the recent search changes, the filter here changed from `type` to `types`. Currently, if you click "Attach Differential Revisions", it shows objects of too many types.

Test Plan: Clickced "Attach Differential Revisions" or whatever it's called, just saw revisions.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D8164
This commit is contained in:
epriestley 2014-02-07 10:41:16 -08:00
parent 5771d13952
commit 0a5beaa296

View file

@ -21,7 +21,7 @@ final class PhabricatorSearchSelectController
$query->setEngineClassName('PhabricatorSearchApplicationSearchEngine');
$query->setParameter('query', $query_str);
$query->setParameter('type', $this->type);
$query->setParameter('types', array($this->type));
switch ($request->getStr('filter')) {
case 'assigned':