diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-04 22:30:28 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-04 22:30:28 +0100 |
commit | 7e6beebd825e6fa2a7ea622c43db9886ba073a2d (patch) | |
tree | 163b12bd2a7bc7eba746475d97ef7089ec0121dc /Bugzilla | |
parent | ce6f5b40e1f1d7180aaf6c91caacec68f10348f3 (diff) | |
download | bugzilla-7e6beebd825e6fa2a7ea622c43db9886ba073a2d.tar.gz bugzilla-7e6beebd825e6fa2a7ea622c43db9886ba073a2d.tar.xz |
Bugzilla/Search.pm: Patch requested by LpSolit@gmail.com
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}; |