Summary:
Ref T9964. Building tables in Remarkup is kind of neat-ish but ends up feeling kind of hacky, and requires weird workarounds if any of the values have `|` in them.
Switch to normal elements instead.
Also move the magic "ids" and "phids" to be more like real fields. I'll clean this up fully in a diff or two, it's just a little tricky because Maniphest has an "ids" field.
Test Plan: {F1024294}
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T9964
Differential Revision: https://secure.phabricator.com/D14768
33 lines
706 B
PHP
33 lines
706 B
PHP
<?php
|
|
|
|
final class ConduitResultSearchEngineExtension
|
|
extends PhabricatorSearchEngineExtension {
|
|
|
|
const EXTENSIONKEY = 'conduit';
|
|
|
|
public function isExtensionEnabled() {
|
|
return true;
|
|
}
|
|
|
|
public function getExtensionOrder() {
|
|
return 1000;
|
|
}
|
|
|
|
public function getExtensionName() {
|
|
return pht('Support for ConduitResultInterface');
|
|
}
|
|
|
|
public function supportsObject($object) {
|
|
return ($object instanceof PhabricatorConduitResultInterface);
|
|
}
|
|
|
|
public function getFieldSpecificationsForConduit($object) {
|
|
return $object->getFieldSpecificationsForConduit();
|
|
}
|
|
|
|
public function getFieldValuesForConduit($object) {
|
|
return $object->getFieldValuesForConduit();
|
|
}
|
|
|
|
}
|