mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 16:00:59 +01:00
Improve speed of user feed
Test Plan: /p/x/feed/ Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T1099 Differential Revision: https://secure.phabricator.com/D2176
This commit is contained in:
parent
e69c8abc15
commit
6d313a1676
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ final class PhabricatorFeedQuery {
|
|||
'SELECT story.* FROM %T ref
|
||||
JOIN %T story ON ref.chronologicalKey = story.chronologicalKey
|
||||
%Q
|
||||
GROUP BY story.chronologicalKey
|
||||
ORDER BY story.chronologicalKey %Q
|
||||
GROUP BY ref.chronologicalKey
|
||||
ORDER BY ref.chronologicalKey %Q
|
||||
LIMIT %d',
|
||||
$ref_table->getTableName(),
|
||||
$story_table->getTableName(),
|
||||
|
|
Loading…
Reference in a new issue