diff options
Diffstat (limited to 'Bugzilla/Keyword.pm')
-rw-r--r-- | Bugzilla/Keyword.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Keyword.pm b/Bugzilla/Keyword.pm index f4742bebd..882adaf02 100644 --- a/Bugzilla/Keyword.pm +++ b/Bugzilla/Keyword.pm @@ -78,7 +78,8 @@ sub get_all_with_bug_count { my $class = shift; my $dbh = Bugzilla->dbh; my $keywords = - $dbh->selectall_arrayref('SELECT ' . join(', ', DB_COLUMNS) . ', + $dbh->selectall_arrayref('SELECT ' + . join(', ', $class->_get_db_columns) . ', COUNT(keywords.bug_id) AS bug_count FROM keyworddefs LEFT JOIN keywords |