Page MenuHomePhorge

D25504.1734678895.diff
No OneTemporary

D25504.1734678895.diff

diff --git a/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php b/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php
--- a/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php
+++ b/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php
@@ -735,6 +735,9 @@
array(
'table' => 'optional string|null',
'column' => 'string',
+ 'customfield' => 'optional bool',
+ 'customfield.index.key' => 'optional string',
+ 'customfield.index.table' => 'optional string',
'value' => 'wild',
'type' => 'string',
'reverse' => 'optional bool',
@@ -1747,7 +1750,7 @@
$map = array();
foreach ($fields->getFields() as $field) {
- $map['custom:'.$field->getFieldKey()] = $field->getValueForStorage();
+ $map[$field->getModernFieldKey()] = $field->getValueForStorage();
}
return $map;
@@ -1758,7 +1761,7 @@
* @task customfield
*/
protected function isCustomFieldOrderKey($key) {
- $prefix = 'custom:';
+ $prefix = 'custom.';
return !strncmp($key, $prefix, strlen($prefix));
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 07:14 (1 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016298
Default Alt Text
D25504.1734678895.diff (1 KB)

Event Timeline