Commit fed8e66b authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Fix a test failure caused by the bug-columns hook.

parent 04ed105c
...@@ -73,8 +73,7 @@ sub DB_COLUMNS { ...@@ -73,8 +73,7 @@ sub DB_COLUMNS {
Bugzilla->active_custom_fields; Bugzilla->active_custom_fields;
my @custom_names = map {$_->name} @custom; my @custom_names = map {$_->name} @custom;
my @columns = my @columns = (qw(
qw(
alias alias
assigned_to assigned_to
bug_file_loc bug_file_loc
...@@ -102,9 +101,9 @@ sub DB_COLUMNS { ...@@ -102,9 +101,9 @@ sub DB_COLUMNS {
'reporter AS reporter_id', 'reporter AS reporter_id',
$dbh->sql_date_format('creation_ts', '%Y.%m.%d %H:%i') . ' AS creation_ts', $dbh->sql_date_format('creation_ts', '%Y.%m.%d %H:%i') . ' AS creation_ts',
$dbh->sql_date_format('deadline', '%Y-%m-%d') . ' AS deadline', $dbh->sql_date_format('deadline', '%Y-%m-%d') . ' AS deadline',
@custom_names; @custom_names);
Bugzilla::Hook::process("bug-columns", {'columns' => \@columns} ); Bugzilla::Hook::process("bug-columns", { columns => \@columns });
return @columns; return @columns;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment