mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
Allow Maniphest to be searched for mailing list subscribers
Summary: Lets you type any mailable into the "Subscribers" field. Test Plan: Typed a list, got relevant tasks. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D8161
This commit is contained in:
parent
b13a51adeb
commit
df98ea3ba9
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ final class ManiphestTaskSearchEngine
|
|||
|
||||
$saved->setParameter(
|
||||
'subscriberPHIDs',
|
||||
$this->readUsersFromRequest($request, 'subscribers'));
|
||||
$this->readPHIDsFromRequest($request, 'subscribers'));
|
||||
|
||||
$saved->setParameter('statuses', $request->getArr('statuses'));
|
||||
$saved->setParameter('priorities', $request->getArr('priorities'));
|
||||
|
@ -305,7 +305,7 @@ final class ManiphestTaskSearchEngine
|
|||
->setValue($author_handles))
|
||||
->appendChild(
|
||||
id(new AphrontFormTokenizerControl())
|
||||
->setDatasource('/typeahead/common/accounts/')
|
||||
->setDatasource('/typeahead/common/mailable/')
|
||||
->setName('subscribers')
|
||||
->setLabel(pht('Subscribers'))
|
||||
->setValue($subscriber_handles))
|
||||
|
|
Loading…
Reference in a new issue