Fix ostatus bug related to only_full_group_by
https://github.com/friendica/friendica/issues/3322
This commit is contained in:
parent
0d2bf557de
commit
dbbe6efd27
|
@ -720,7 +720,7 @@ class ostatus {
|
||||||
$conversations = q("SELECT `term`.`oid`, `term`.`url`, `term`.`uid` FROM `term`
|
$conversations = q("SELECT `term`.`oid`, `term`.`url`, `term`.`uid` FROM `term`
|
||||||
STRAIGHT_JOIN `thread` ON `thread`.`iid` = `term`.`oid` AND `thread`.`uid` = `term`.`uid`
|
STRAIGHT_JOIN `thread` ON `thread`.`iid` = `term`.`oid` AND `thread`.`uid` = `term`.`uid`
|
||||||
WHERE `term`.`type` = 7 AND `term`.`term` > '%s' AND `thread`.`mention`
|
WHERE `term`.`type` = 7 AND `term`.`term` > '%s' AND `thread`.`mention`
|
||||||
GROUP BY `term`.`url`, `term`.`uid` ORDER BY `term`.`term` DESC", dbesc($start));
|
GROUP BY `term`.`url`, `term`.`uid`, `term`.`oid`, `term`.`term` ORDER BY `term`.`term` DESC", dbesc($start));
|
||||||
} else {
|
} else {
|
||||||
$conversations = q("SELECT `oid`, `url`, `uid` FROM `term`
|
$conversations = q("SELECT `oid`, `url`, `uid` FROM `term`
|
||||||
WHERE `type` = 7 AND `term` > '%s'
|
WHERE `type` = 7 AND `term` > '%s'
|
||||||
|
|
Loading…
Reference in a new issue