diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-08-19 16:27:30 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-08-19 16:27:30 +0200 |
commit | f9e534a4811d5e0c6c15ad89a1aa67b11afde463 (patch) | |
tree | 196ebd9a2bf0d8623e01ac817e9d441ec5b9fe8f | |
parent | 6f5acec289dbde2acb35a032509d12e1a5f73b64 (diff) | |
download | bugzilla-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.pm | 2 |
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. |