mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Fix smushing of multiple values in Projects "Additional Hashtags" field
Summary: Ref T10168. When we render this control, we currently don't put commas into the value correctly if there are multiple alternative hashtags. Test Plan: Edited a project with multiple alternate hashtags. Before change: they all got smushed together. After change: properly comma-separated. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10168 Differential Revision: https://secure.phabricator.com/D15045
This commit is contained in:
parent
45a4a68628
commit
9ae48d4026
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ final class PhabricatorStringListEditField
|
|||
return new AphrontFormTextControl();
|
||||
}
|
||||
|
||||
protected function getValueForControl() {
|
||||
$value = $this->getValue();
|
||||
return implode(', ', $value);
|
||||
}
|
||||
|
||||
protected function newConduitParameterType() {
|
||||
return new ConduitStringListParameterType();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue