diff --git a/inc/certificate.class.php b/inc/certificate.class.php index 2e0cbf1baec..e04e541cafe 100644 --- a/inc/certificate.class.php +++ b/inc/certificate.class.php @@ -261,7 +261,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '61', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/computer.class.php b/inc/computer.class.php index 3076baec5c4..820c5108007 100644 --- a/inc/computer.class.php +++ b/inc/computer.class.php @@ -754,7 +754,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '65', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/ipnetwork.class.php b/inc/ipnetwork.class.php index b06aaf17525..0a6b5f1a1a2 100644 --- a/inc/ipnetwork.class.php +++ b/inc/ipnetwork.class.php @@ -86,16 +86,6 @@ function rawSearchOptions() { '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(), diff --git a/inc/monitor.class.php b/inc/monitor.class.php index b15307487b6..6608a6fa483 100644 --- a/inc/monitor.class.php +++ b/inc/monitor.class.php @@ -615,7 +615,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '61', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/networkequipment.class.php b/inc/networkequipment.class.php index 766d653b80d..e5aaafdb406 100644 --- a/inc/networkequipment.class.php +++ b/inc/networkequipment.class.php @@ -637,7 +637,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '65', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/peripheral.class.php b/inc/peripheral.class.php index b36f14fcdd8..528cc904701 100644 --- a/inc/peripheral.class.php +++ b/inc/peripheral.class.php @@ -523,7 +523,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '61', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/phone.class.php b/inc/phone.class.php index 941f0056e76..f89df6224b5 100644 --- a/inc/phone.class.php +++ b/inc/phone.class.php @@ -594,7 +594,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '61', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/inc/printer.class.php b/inc/printer.class.php index 7a5d626eb1b..05d1df288fa 100644 --- a/inc/printer.class.php +++ b/inc/printer.class.php @@ -794,7 +794,7 @@ function rawSearchOptions() { ]; $tab[] = [ - 'id' => '50', + 'id' => '61', 'table' => $this->getTable(), 'field' => 'template_name', 'name' => __('Template name'), diff --git a/tests/functionnal/AuthLdap.php b/tests/functionnal/AuthLdap.php index 38042c6bd0f..557729b34fb 100644 --- a/tests/functionnal/AuthLdap.php +++ b/tests/functionnal/AuthLdap.php @@ -254,7 +254,7 @@ public function testDefineTabs() { public function testGetSearchOptionsNew() { $ldap = new \AuthLDAP(); $options = $ldap->rawSearchOptions(); - $this->array($options)->hasSize(32); + $this->array($options)->hasSize(33); } public function testGetSyncFields() { diff --git a/tests/functionnal/Software.php b/tests/functionnal/Software.php index d3e04740425..c5704d902d0 100644 --- a/tests/functionnal/Software.php +++ b/tests/functionnal/Software.php @@ -413,10 +413,10 @@ public function testGetSpecificMassiveActions() { 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); } }