]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 783879: Sub-optimal SQL query when displaying tags in buglists
authorFrédéric Buclin <LpSolit@gmail.com>
Sun, 19 Aug 2012 14:27:30 +0000 (16:27 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 19 Aug 2012 14:27:30 +0000 (16:27 +0200)
r=wicked a=LpSolit

Bugzilla/Search.pm

index 1fae1920d2016b4bb103a3476344d678feb2a650..aaa3c208b5b1f21a6c4aebd25e4b3487eac288d1 100644 (file)
@@ -545,7 +545,7 @@ sub COLUMNS {
         
         'longdescs.count' => 'COUNT(DISTINCT map_longdescs_count.comment_id)',
 
-        tag => $dbh->sql_group_concat('DISTINCT ' . $dbh->sql_string_concat('map_tag.name')),
+        tag => $dbh->sql_group_concat('DISTINCT map_tag.name'),
     );
 
     # Backward-compatibility for old field names. Goes new_name => old_name.