Browse Source

Another GROUP BY fix for MySQL

https://github.com/friendica/friendica/issues/3322
pull/3323/head
Alexandre Alapetite 5 years ago
parent
commit
15a44d945b
  1. 2
      include/ostatus.php

2
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) {

Loading…
Cancel
Save