Commit b32c8a70 authored by Johan Cwiklinski's avatar Johan Cwiklinski
Browse files

Fix search options

parent 1ff20daa
......@@ -261,7 +261,7 @@ class Certificate extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '61',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -754,7 +754,7 @@ class Computer extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '65',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -86,16 +86,6 @@ class IPNetwork extends CommonImplicitTreeDropdown {
'datatype' => 'string'
];
$tab[] = [
'id' => '13',
'table' => $this->getTable(),
'field' => 'network',
'name' => self::getTypeName(1),
'massiveaction' => false,
'datatype' => 'string',
'autocomplete' => true,
];
$tab[] = [
'id' => '17',
'table' => $this->getTable(),
......
......@@ -615,7 +615,7 @@ class Monitor extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '61',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -637,7 +637,7 @@ class NetworkEquipment extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '65',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -523,7 +523,7 @@ class Peripheral extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '61',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -594,7 +594,7 @@ class Phone extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '61',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -794,7 +794,7 @@ class Printer extends CommonDBTM {
];
$tab[] = [
'id' => '50',
'id' => '61',
'table' => $this->getTable(),
'field' => 'template_name',
'name' => __('Template name'),
......
......@@ -254,7 +254,7 @@ class AuthLDAP extends DbTestCase {
public function testGetSearchOptionsNew() {
$ldap = new \AuthLDAP();
$options = $ldap->rawSearchOptions();
$this->array($options)->hasSize(32);
$this->array($options)->hasSize(33);
}
public function testGetSyncFields() {
......
......@@ -413,10 +413,10 @@ class Software extends DbTestCase {
public function testGetSearchOptionsNew() {
$software = new \Software();
$result = $software->rawSearchOptions();
$this->array($result)->hasSize(39);
$this->array($result)->hasSize(40);
$this->login();
$result = $software->rawSearchOptions();
$this->array($result)->hasSize(48);
$this->array($result)->hasSize(49);
}
}
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