Skip to content

Commit

Permalink
MDL-43719 tags: Fix the sql statement in the tag management page.
Browse files Browse the repository at this point in the history
MSSQL and Oracle require that all fields in teh select also be present
in the group by section.
  • Loading branch information
abgreeve committed Apr 11, 2014
1 parent af8a432 commit 0ee4ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
LEFT JOIN {user} u ON u.id = tg.userid
$where
GROUP BY tg.id, tg.name, tg.rawname, tg.tagtype, tg.flag, tg.timemodified,
u.id, u.firstname, u.lastname
u.id, $allusernames
$sort";

$totalcount = $DB->count_records_sql("
Expand Down

0 comments on commit 0ee4ccb

Please sign in to comment.