Differential D14763 Diff 35717 src/applications/search/field/PhabricatorSearchCustomFieldProxyField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/field/PhabricatorSearchCustomFieldProxyField.php
Show All 32 Lines | final class PhabricatorSearchCustomFieldProxyField | ||||
public function getCustomField() { | public function getCustomField() { | ||||
return $this->customField; | return $this->customField; | ||||
} | } | ||||
protected function getDefaultValue() { | protected function getDefaultValue() { | ||||
return null; | return null; | ||||
} | } | ||||
public function getKeyForConduit() { | public function getConduitKey() { | ||||
return $this->getCustomField()->getModernFieldKey(); | return $this->getCustomField()->getModernFieldKey(); | ||||
} | } | ||||
protected function getValueExistsInRequest(AphrontRequest $request, $key) { | protected function getValueExistsInRequest(AphrontRequest $request, $key) { | ||||
// TODO: For historical reasons, the keys we look for don't line up with | // TODO: For historical reasons, the keys we look for don't line up with | ||||
// the keys that CustomFields use. Just skip the check for existence and | // the keys that CustomFields use. Just skip the check for existence and | ||||
// always read the value. It would be vaguely nice to make rendering more | // always read the value. It would be vaguely nice to make rendering more | ||||
// consistent instead. | // consistent instead. | ||||
Show All 17 Lines |