projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbbe6ef
)
Another GROUP BY fix for MySQL
author
Alexandre Alapetite
<alexandre@alapetite.fr>
Tue, 11 Apr 2017 23:06:08 +0000
(
01:06
+0200)
committer
Alexandre Alapetite
<alexandre@alapetite.fr>
Tue, 11 Apr 2017 23:06:08 +0000
(
01:06
+0200)
https://github.com/friendica/friendica/issues/3322
include/ostatus.php
patch
|
blob
|
history
diff --git
a/include/ostatus.php
b/include/ostatus.php
index ee405397cc1216f1f667acccb6fee546d7781da1..e0ed1df19a9f2a8123cddaa35978186e61432cb6 100644
(file)
--- 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) {