summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-19 16:27:30 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-19 16:27:30 +0200
commitf9e534a4811d5e0c6c15ad89a1aa67b11afde463 (patch)
tree196ebd9a2bf0d8623e01ac817e9d441ec5b9fe8f
parent6f5acec289dbde2acb35a032509d12e1a5f73b64 (diff)
downloadbugzilla-f9e534a4811d5e0c6c15ad89a1aa67b11afde463.tar.gz
bugzilla-f9e534a4811d5e0c6c15ad89a1aa67b11afde463.tar.xz
Bug 783879: Sub-optimal SQL query when displaying tags in buglists
r=wicked a=LpSolit
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 1fae1920d..aaa3c208b 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -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.