@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
fork

Configure Feed

Select the types of activity you want to include in your feed.

Return task descriptions from "maniphest.search"

Summary:
Fixes T12461. This returns the field as a dictionary with a `"raw"` value, so we could eventually do this if we want without breaking the API:

```
{
"type": "remarkup",
"raw": "**raw**",
"html": "<strong>raw</strong>",
"text": "raw"
}
```

Test Plan: Called `maniphest.search`, reviewed output.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12461

Differential Revision: https://secure.phabricator.com/D17603

+7 -1
+7 -1
src/applications/maniphest/storage/ManiphestTask.php
··· 474 474 ->setType('string') 475 475 ->setDescription(pht('The title of the task.')), 476 476 id(new PhabricatorConduitSearchFieldSpecification()) 477 + ->setKey('description') 478 + ->setType('remarkup') 479 + ->setDescription(pht('The task description.')), 480 + id(new PhabricatorConduitSearchFieldSpecification()) 477 481 ->setKey('authorPHID') 478 482 ->setType('phid') 479 483 ->setDescription(pht('Original task author.')), ··· 501 505 } 502 506 503 507 public function getFieldValuesForConduit() { 504 - 505 508 $status_value = $this->getStatus(); 506 509 $status_info = array( 507 510 'value' => $status_value, ··· 519 522 520 523 return array( 521 524 'name' => $this->getTitle(), 525 + 'description' => array( 526 + 'raw' => $this->getDescription(), 527 + ), 522 528 'authorPHID' => $this->getAuthorPHID(), 523 529 'ownerPHID' => $this->getOwnerPHID(), 524 530 'status' => $status_info,