diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-12 20:13:56 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-12 20:13:56 +0100 |
commit | 6fcd6670fddc42362b72472f4055d2c08d685d45 (patch) | |
tree | c2023c51a9268bcb4b8c32ca4e3bde0411b707ae /Bugzilla | |
parent | b4d57a7e6b4e8f1dc540d6b0ed651f990e5c3213 (diff) | |
parent | 317c9afd691564304f448066b961554eb966039a (diff) | |
download | bugzilla-6fcd6670fddc42362b72472f4055d2c08d685d45.tar.gz bugzilla-6fcd6670fddc42362b72472f4055d2c08d685d45.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla')
-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 8ba9cdc6b..3c574274d 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -2288,7 +2288,7 @@ sub _user_nonchanged { my $table = $first_join->{table}; my $columns = "bug_id"; $columns .= ",isprivate" if @{ $first_join->{extra} }; - my $new_table = "SELECT $columns FROM $table AS $as $join_sql"; + my $new_table = "SELECT DISTINCT $columns FROM $table AS $as $join_sql"; $first_join->{table} = "($new_table)"; # We always want to LEFT JOIN the generated table. delete $first_join->{join}; |