summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorStephanie Daugherty <sdaugherty@gmail.com>2011-08-29 23:30:15 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-29 23:30:15 +0200
commit2054799e43e2437b94f2d86981d21ec786d12a70 (patch)
tree87ceaf603e2ea66ebd16dd6b6092d542a0579f20 /Bugzilla/Search.pm
parent9cfecf559d27fe2a29cd3e8d246e069fd30601a9 (diff)
downloadbugzilla-2054799e43e2437b94f2d86981d21ec786d12a70.tar.gz
bugzilla-2054799e43e2437b94f2d86981d21ec786d12a70.tar.xz
Bug 637648 - Rename the "tags" table to "tag"
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index a5c3e032d..d47e0ae99 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2525,8 +2525,8 @@ sub _multiselect_table {
" ON keywords.keywordid = keyworddefs.id";
}
elsif ($field eq 'tag') {
- $args->{full_field} = 'tags.name';
- return "bug_tag INNER JOIN tags ON bug_tag.tag_id = tags.id"
+ $args->{full_field} = 'tag.name';
+ return "bug_tag INNER JOIN tag ON bug_tag.tag_id = tag.id"
. " AND user_id = " . $self->_user->id;
}
elsif ($field eq 'bug_group') {