Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683045
D25504.1734678895.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25504.1734678895.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25504: Fix "Map omits required key" exception by comparing result order against modern field keys
Attached
Detach File
Event Timeline
Log In to Comment