From 66b20d9e70fec2ddc148c637cbd4b454df515d0b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 7 Aug 2012 11:52:53 +0200 Subject: Bug 780683: Tags are duplicated in buglists if a search criteria involves a user field external to the 'bugs' table r=dkl a=LpSolit --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index fbbc39a4e..1fae1920d 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. -- cgit v1.2.3-24-g4f1b