From 7d90eaa8770c0b29567b78b89d81334211fa2482 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 2 Mar 2011 00:39:49 -0800 Subject: Bug 617641: Using any of the _realname columns in Search.pm all by themselves wasn't working properly. r=mkanat, a=mkanat (module owner) --- Bugzilla/Search.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 73235ded3..edb59e40e 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -945,6 +945,8 @@ sub _sql_limit { sub _column_join { my ($self, $field) = @_; + # The _realname fields require the same join as the username fields. + $field =~ s/_realname$//; my $join_info = COLUMN_JOINS->{$field}; if ($join_info) { # Don't allow callers to modify the constant. -- cgit v1.2.3-24-g4f1b