You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-02-08 09:30:23

franjb68
Member
Registered: 2006-04-03
Posts: 46

Can't search Devices on network info

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

#2 2007-02-08 17:10:24

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Can't search Devices on network info

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

#3 2007-02-08 22:46:19

franjb68
Member
Registered: 2006-04-03
Posts: 46

Re: Can't search Devices on network info

Thank you very much. :-)


GLPI 0.70, Linux Fedora 4, Apache/2.2.0 (Unix), PHP/4.4.1,  MySQL 5.0.18

Offline

Board footer

Powered by FluxBB