You are not logged in.
Pages: 1
Topic closed
Good morning.
In the Inventory section of my GLPI 0.68.3 installation I can't search Devices on network info as it can be done on Computers, Printers and Network material.
On these three elements there is the possibility of searching by IP, MAC, and Network point. These options aren't available when looking for Devices.
Greetings,
Francisco
GLPI 0.70, Linux Fedora 4, Apache/2.2.0 (Unix), PHP/4.4.1, MySQL 5.0.18
Offline
Yes this feature have been forgotten.
Changes here to make it works :
https://dev.indepnet.net:8080/glpi/changeset/4386
Index: branches/0.68-bugfixes/inc/search.class.php
===================================================================
--- trunk/inc/search.class.php (revision 3919)
+++ branches/0.68-bugfixes/inc/search.class.php (revision 4386)
@@ -2210,5 +2210,24 @@
),
- );
+);
+$SEARCH_OPTION[PERIPHERAL_TYPE]['network']=$lang["setup"][88];
+
+$SEARCH_OPTION[PERIPHERAL_TYPE][20]['table']='glpi_networking_ports';
+$SEARCH_OPTION[PERIPHERAL_TYPE][20]['field']='ifaddr';
+$SEARCH_OPTION[PERIPHERAL_TYPE][20]['linkfield']='';
+$SEARCH_OPTION[PERIPHERAL_TYPE][20]['name']=$lang["networking"][14];
+$SEARCH_OPTION[PERIPHERAL_TYPE][20]['meta']=0;
+
+$SEARCH_OPTION[PERIPHERAL_TYPE][21]['table']='glpi_networking_ports';
+$SEARCH_OPTION[PERIPHERAL_TYPE][21]['field']='ifmac';
+$SEARCH_OPTION[PERIPHERAL_TYPE][21]['linkfield']='';
+$SEARCH_OPTION[PERIPHERAL_TYPE][21]['name']=$lang["networking"][15];
+$SEARCH_OPTION[PERIPHERAL_TYPE][21]['meta']=0;
+
+$SEARCH_OPTION[PERIPHERAL_TYPE][22]['table']='glpi_dropdown_netpoint';
+$SEARCH_OPTION[PERIPHERAL_TYPE][22]['field']='name';
+$SEARCH_OPTION[PERIPHERAL_TYPE][22]['linkfield']='';
+$SEARCH_OPTION[PERIPHERAL_TYPE][22]['name']=$lang["networking"][51];
+$SEARCH_OPTION[PERIPHERAL_TYPE][22]['meta']=0;
?>
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Thank you very much. :-)
GLPI 0.70, Linux Fedora 4, Apache/2.2.0 (Unix), PHP/4.4.1, MySQL 5.0.18
Offline
Pages: 1
Topic closed