[example] correction recherche

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@34 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
tsmr 2007-10-09 22:19:05 +00:00
parent 688f643140
commit f5de10158c

View File

@ -151,7 +151,7 @@ function plugin_example_getDropdown(){
// Define search option for types of the plugins // Define search option for types of the plugins
function plugin_example_getSearchOption(){ function plugin_example_getSearchOption(){
global $LANGEXAMPLE; global $LANGEXAMPLE,$LANG;
$sopt=array(); $sopt=array();
// Part header // Part header
@ -172,6 +172,11 @@ function plugin_example_getSearchOption(){
$sopt[PLUGIN_EXAMPLE_TYPE][3]['linkfield']='serial'; $sopt[PLUGIN_EXAMPLE_TYPE][3]['linkfield']='serial';
$sopt[PLUGIN_EXAMPLE_TYPE][3]['name']='Serial'; $sopt[PLUGIN_EXAMPLE_TYPE][3]['name']='Serial';
$sopt[PLUGIN_EXAMPLE_TYPE][30]['table']='glpi_plugin_example';
$sopt[PLUGIN_EXAMPLE_TYPE][30]['field']='ID';
$sopt[PLUGIN_EXAMPLE_TYPE][30]['linkfield']='ID';
$sopt[PLUGIN_EXAMPLE_TYPE][30]['name']=$LANG["common"][2];
return $sopt; return $sopt;
} }