summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-07 11:52:53 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-07 11:52:53 +0200
commit66b20d9e70fec2ddc148c637cbd4b454df515d0b (patch)
tree92c44bdb506a146ed1c9afb9da660495f9b7db8f /Bugzilla
parent6dddd9e477ecccc37c8d57f16238ea78b5cb638e (diff)
downloadbugzilla-66b20d9e70fec2ddc148c637cbd4b454df515d0b.tar.gz
bugzilla-66b20d9e70fec2ddc148c637cbd4b454df515d0b.tar.xz
Bug 780683: Tags are duplicated in buglists if a search criteria involves a user field external to the 'bugs' table
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
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.