1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +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:
vrana 2012-04-09 15:43:38 -07:00
parent e69c8abc15
commit 6d313a1676

View file

@ -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(),