From: Frédéric Buclin Date: Tue, 7 Aug 2012 09:52:53 +0000 (+0200) Subject: Bug 780683: Tags are duplicated in buglists if a search criteria involves a user... X-Git-Tag: bugzilla-4.3.3~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b20d9e70fec2ddc148c637cbd4b454df515d0b;p=thirdparty%2Fbugzilla.git Bug 780683: Tags are duplicated in buglists if a search criteria involves a user field external to the 'bugs' table r=dkl a=LpSolit --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index fbbc39a4e4..1fae1920d2 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($dbh->sql_string_concat('map_tag.name')), + tag => $dbh->sql_group_concat('DISTINCT ' . $dbh->sql_string_concat('map_tag.name')), ); # Backward-compatibility for old field names. Goes new_name => old_name.