diff --git a/module/bug/config.php b/module/bug/config.php index 3a561f048d..e906790f76 100644 --- a/module/bug/config.php +++ b/module/bug/config.php @@ -164,6 +164,7 @@ $config->bug->datatable->fieldList['severity']['title'] = 'severityAB'; $config->bug->datatable->fieldList['severity']['fixed'] = 'left'; $config->bug->datatable->fieldList['severity']['width'] = '50'; $config->bug->datatable->fieldList['severity']['required'] = 'no'; +$config->bug->datatable->fieldList['severity']['name'] = $lang->bug->severity; $config->bug->datatable->fieldList['pri']['title'] = 'P'; $config->bug->datatable->fieldList['pri']['fixed'] = 'left'; diff --git a/module/datatable/model.php b/module/datatable/model.php index 849031cd6d..ba863840c7 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -155,10 +155,6 @@ class datatableModel extends model $fixed = $col->fixed == 'no' ? 'true' : 'false'; $width = is_numeric($col->width) ? "{$col->width}px" : $col->width; $title = isset($col->title) ? "title='$col->title'" : ''; - - if($id == 'severity') $col->name = $this->lang->bug->severity; - if($id == 'pri') $col->name = $this->lang->pri; - $title = (isset($col->name) and $col->name) ? "title='$col->name'" : $title; if($id == 'id' and (int)$width < 90) $width = '90px'; $align = $id == 'actions' ? 'text-center' : '';