Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-13769 - Fix for postgresql

  • Loading branch information...
commit 7a6df50371ec07b1d0abeca51065c09c7e705803 1 parent 74c8a06
scyrma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tag/locallib.php
View
2  tag/locallib.php
@@ -23,7 +23,7 @@ function tag_print_cloud($nr_of_tags=150, $return=false) {
$tagcloud = get_records_sql('SELECT tg.rawname, tg.id, tg.name, tg.tagtype, COUNT(ti.id) AS count, tg.flag '.
'FROM '. $CFG->prefix .'tag_instance ti INNER JOIN '. $CFG->prefix .'tag tg ON tg.id = ti.tagid '.
- 'GROUP BY tg.id, tg.rawname, tg.name, tg.flag '.
+ 'GROUP BY tg.id, tg.rawname, tg.name, tg.flag, tg.tagtype '.
'ORDER BY count DESC, tg.name ASC', 0, $nr_of_tags);
$totaltags = count($tagcloud);
Please sign in to comment.
Something went wrong with that request. Please try again.