Skip to content

Commit

Permalink
Merge pull request #324 from phpbb/fix/nonaggregated_columns_mysql
Browse files Browse the repository at this point in the history
Add nonaggregated columns to group by clause
  • Loading branch information
DavidIQ committed Nov 10, 2020
2 parents c8d7475 + 17ccad3 commit 09464ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contribution/style/demo/demo.php
Expand Up @@ -182,7 +182,7 @@ public function load_styles()
AND c.contrib_demo <> ""
AND rp.phpbb_version_branch = ' . (int) $this->phpbb_branch,

'GROUP_BY' => 'c.contrib_id',
'GROUP_BY' => 'c.contrib_id, cat.left_id, cat.category_name, s.attachment_id',
'ORDER_BY' => 'cat.left_id, c.contrib_name ASC',
);

Expand Down

0 comments on commit 09464ef

Please sign in to comment.