parent
093abfd733
commit
c822f3b981
|
@ -30,6 +30,7 @@ next (will be 1.9.0)
|
|||
* FIX: allow switching DB config while connection is failing (#2300)
|
||||
* FIX: Links to duplicate services in Sets didn't check for deactivation (#2323)
|
||||
* FIX: SQL error for Data Fields table on PostgreSQL (#2310)
|
||||
* FIX: SQL error when searching for Data Field Categories (#2367)
|
||||
* FEATURE: show "deprecated" flag on object attribute inspection (#2312)
|
||||
* FEATURE: Service Template for single Host services provides auto-completion (#1974)
|
||||
|
||||
|
|
|
@ -5,15 +5,13 @@ namespace Icinga\Module\Director\Web\Table;
|
|||
use gipfl\IcingaWeb2\Link;
|
||||
use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
|
||||
use ipl\Html\Html;
|
||||
use Zend_Db_Adapter_Abstract as ZfDbAdapter;
|
||||
use Zend_Db_Select as ZfDbSelect;
|
||||
|
||||
class DatafieldCategoryTable extends ZfQueryBasedTable
|
||||
{
|
||||
protected $searchColumns = array(
|
||||
'dfc.varname',
|
||||
'dfc.caption',
|
||||
);
|
||||
protected $searchColumns = [
|
||||
'dfc.category_name',
|
||||
'dfc.description',
|
||||
];
|
||||
|
||||
public function getColumns()
|
||||
{
|
||||
|
@ -45,10 +43,10 @@ class DatafieldCategoryTable extends ZfQueryBasedTable
|
|||
|
||||
public function getColumnsToBeRendered()
|
||||
{
|
||||
return array(
|
||||
return [
|
||||
$this->translate('Category Name'),
|
||||
$this->translate('# Used'),
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
public function prepareQuery()
|
||||
|
|
Loading…
Reference in New Issue