Bonjour, Voici un patch pour augmenter le nombre d'éléments à afficher. J'ai le cas de machines de stockage qui ont plus de 100 disques dur et donc ça restait à '0'.
Le patch est fait sur la branche 0.80 Cordialement, -- David DURIEUX Tel : +33 (0)4.82.53.30.53 Mail : d.duri...@siprossii.com Site Web : http://www.siprossii.com/ SIPROSSII Les Lafôrets 69430 Beaujeu FRANCE
Index: inc/computer_device.class.php =================================================================== --- inc/computer_device.class.php (revision 16337) +++ inc/computer_device.class.php (working copy) @@ -239,7 +239,7 @@ if ($device->getFromDB($data[$fk])) { echo "<tr class='tab_bg_2'>"; echo "<td class='center'>"; - Dropdown::showInteger("quantity_".$itemtype."_".$data['id'], $data['NB']); + Dropdown::showInteger("quantity_".$itemtype."_".$data['id'], $data['NB'],0,200); echo "</td><td>"; if ($device->canCreate()) { echo "<a href='".$device->getSearchURL()."'>".$device->getTypeName()."</a>";
_______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev