mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Fix GROUP BY in acl_selector, api, notifier, photos, messages
https://github.com/friendica/friendica/issues/3322
This commit is contained in:
parent
c3e933642e
commit
74b6d09e89
7 changed files with 14 additions and 12 deletions
|
@ -358,7 +358,7 @@ function videos_content(App $a) {
|
|||
|
||||
$r = q("SELECT hash, `id`, `filename`, filetype FROM `attach`
|
||||
WHERE `uid` = %d AND filetype LIKE '%%video%%'
|
||||
$sql_extra GROUP BY hash ORDER BY `created` DESC LIMIT %d , %d",
|
||||
$sql_extra GROUP BY hash, `id` ORDER BY `created` DESC LIMIT %d , %d",
|
||||
intval($a->data['user']['uid']),
|
||||
intval($a->pager['start']),
|
||||
intval($a->pager['itemspage'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue