@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class DiffusionIdentityAssigneeSearchField
4 extends PhabricatorSearchTokenizerField {
5
6 protected function getDefaultValue() {
7 return array();
8 }
9
10 protected function getValueFromRequest(AphrontRequest $request, $key) {
11 return $this->getUsersFromRequest($request, $key);
12 }
13
14 protected function newDatasource() {
15 return new DiffusionIdentityAssigneeDatasource();
16 }
17
18 protected function newConduitParameterType() {
19 return new ConduitUserListParameterType();
20 }
21
22}