From 15a44d945b9219a75e519e6cb4b0563b6ea378f7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 12 Apr 2017 01:06:08 +0200 Subject: [PATCH] Another GROUP BY fix for MySQL https://github.com/friendica/friendica/issues/3322 --- include/ostatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ostatus.php b/include/ostatus.php index ee405397cc..e0ed1df19a 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -724,7 +724,7 @@ class ostatus { } else { $conversations = q("SELECT `oid`, `url`, `uid` FROM `term` WHERE `type` = 7 AND `term` > '%s' - GROUP BY `url`, `uid` ORDER BY `term` DESC", dbesc($start)); + GROUP BY `url`, `uid`, `oid`, `term` ORDER BY `term` DESC", dbesc($start)); } foreach ($conversations AS $conversation) { -- 2.39.5