Page MenuHomePhabricator

D14800.id35786.diff
No OneTemporary

D14800.id35786.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
@@ -724,6 +724,11 @@
'name' => $field->getFieldName(),
'aliases' => array($legacy_key),
);
+
+ $orders['-'.$modern_key] = array(
+ 'vector' => array('-'.$modern_key, '-id'),
+ 'name' => pht('%s (Reversed)', $field->getFieldName()),
+ );
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 29, 6:34 PM (5 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7309501
Default Alt Text
D14800.id35786.diff (646 B)

Event Timeline