MDL-43719 tags: Fix the sql statement in the tag management page.
MSSQL and Oracle require that all fields in teh select also be present in the group by section.
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ $query = "
|
||||
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("
|
||||
|
||||
Reference in New Issue
Block a user