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 2014-04-27 12:49:37

fledorze
Member
Registered: 2007-07-03
Posts: 70

Bug displaying free fields in Customfields 1.6

It seems that the directive '$sopt[$i]['linkfield']     = $search['system_name'];' in Hook function plugin_customfields_getAddSearchOptions makes fail the display of free custom fields (dropdowns are OK) when displaying a computer for example.
Debug reveals that field value is looked for in glpi_plugin_customfields_computers_<fieldname> instead of glpi_plugin_customfields_computers.
In version 1.5, we have '$sopt[$i]['linkfield']     = ''; instead and display is working fine.
I just fix it in 1.6 and it is working fine too.


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

Board footer

Powered by FluxBB