mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'wip-MDL-41307-master' of git://github.com/abgreeve/moodle
This commit is contained in:
commit
f5a791ee7a
2 changed files with 4 additions and 2 deletions
|
@ -225,9 +225,10 @@ if ($where) {
|
|||
$where = 'WHERE '. $where;
|
||||
}
|
||||
|
||||
$allusernames = get_all_user_name_fields(true, 'u');
|
||||
$query = "
|
||||
SELECT tg.id, tg.name, tg.rawname, tg.tagtype, tg.flag, tg.timemodified,
|
||||
u.id AS owner, u.firstname, u.lastname,
|
||||
u.id AS owner, $allusernames,
|
||||
COUNT(ti.id) AS count
|
||||
FROM {tag} tg
|
||||
LEFT JOIN {tag_instance} ti ON ti.tagid = tg.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue