Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14845894
D11913.id29094.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
726 B
Referenced Files
None
Subscribers
None
D11913.id29094.diff
View Options
diff --git a/src/applications/feed/query/PhabricatorFeedQuery.php b/src/applications/feed/query/PhabricatorFeedQuery.php
--- a/src/applications/feed/query/PhabricatorFeedQuery.php
+++ b/src/applications/feed/query/PhabricatorFeedQuery.php
@@ -83,11 +83,11 @@
}
private function buildGroupClause(AphrontDatabaseConnection $conn_r) {
- return qsprintf(
- $conn_r,
- 'GROUP BY '.($this->filterPHIDs
- ? 'ref.chronologicalKey'
- : 'story.chronologicalKey'));
+ if ($this->filterPHIDs) {
+ return qsprintf($conn_r, 'GROUP BY ref.chronologicalKey');
+ } else {
+ return qsprintf($conn_r, 'GROUP BY story.chronologicalKey');
+ }
}
protected function getPagingColumn() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 1:44 AM (19 h, 41 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7088314
Default Alt Text
D11913.id29094.diff (726 B)
Attached To
Mode
D11913: Minor change to suppress linter warning
Attached
Detach File
Event Timeline
Log In to Comment