Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(fleet): update search option for itemtypes relations
Browse files Browse the repository at this point in the history
Signed-off-by: Domingo Oropeza <doropeza@teclib.com>
  • Loading branch information
DIOHz0r committed May 18, 2018
1 parent 453d852 commit 70ecb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/fleet.class.php
Expand Up @@ -269,7 +269,7 @@ public function getSearchOptionsNew() {
'field' => 'itemtype',
'name' => __('Associated item types'),
'datatype' => 'itemtypename',
'itemtype_list' => 'fleet_types',
'itemtype_list' => 'notifiable_types',
'nosort' => true,
'additionalfields' => [
'0' => 'itemtype'
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Expand Up @@ -99,7 +99,7 @@ function plugin_init_flyvemdm() {
plugin_flyvemdm_registerClasses();
plugin_flyvemdm_addHooks();

$CFG_GLPI['fleet_types'] = [PluginFlyvemdmFile::class, PluginFlyvemdmPackage::class];
$CFG_GLPI['notifiable_types'] = [PluginFlyvemdmFleet::class, PluginFlyvemdmAgent::class];

Html::requireJs('charts');
$PLUGIN_HOOKS['add_css']['flyvemdm'][] = "css/style.css";
Expand Down

0 comments on commit 70ecb2d

Please sign in to comment.