Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15310308
D20297.id48441.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20297.id48441.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
@@ -1102,14 +1102,14 @@
'requires-ferret' => true,
);
$columns['fulltext-created'] = array(
- 'table' => 'ft_doc',
- 'column' => 'epochCreated',
+ 'table' => null,
+ 'column' => '_ft_epochCreated',
'type' => 'int',
'requires-ferret' => true,
);
$columns['fulltext-modified'] = array(
- 'table' => 'ft_doc',
- 'column' => 'epochModified',
+ 'table' => null,
+ 'column' => '_ft_epochModified',
'type' => 'int',
'requires-ferret' => true,
);
@@ -1845,6 +1845,14 @@
'%Q _ft_rank',
$sum);
+ $select[] = qsprintf(
+ $conn,
+ 'ft_doc.epochCreated _ft_epochCreated');
+
+ $select[] = qsprintf(
+ $conn,
+ 'ft_doc.epochModified _ft_epochModified');
+
return $select;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 8:52 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7328593
Default Alt Text
D20297.id48441.diff (1 KB)
Attached To
Mode
D20297: Select Ferret fulltext columns in results so fulltext queries work under UNION
Attached
Detach File
Event Timeline
Log In to Comment