summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-02 09:39:49 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-02 09:39:49 +0100
commit7d90eaa8770c0b29567b78b89d81334211fa2482 (patch)
tree937e877fa3559d5f61922db52f1b44917e55d9d7 /Bugzilla
parentef54a40d5d849aa6fab73ddd4f3497055ce21eb6 (diff)
downloadbugzilla-7d90eaa8770c0b29567b78b89d81334211fa2482.tar.gz
bugzilla-7d90eaa8770c0b29567b78b89d81334211fa2482.tar.xz
Bug 617641: Using any of the _realname columns in Search.pm all by themselves
wasn't working properly. r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 2 insertions, 0 deletions
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.