Skip to content

Commit

Permalink
add global search (top right) declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Apr 10, 2015
1 parent 6e15211 commit 35092c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/object.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ static function registerType() {
if ($item->canUseGlobalSearch()) {
if (!in_array($class, $CFG_GLPI['state_types'])) {
array_push($CFG_GLPI['state_types'], $class);
array_push($CFG_GLPI['globalsearch_types'], $class);
}
}

Expand Down

0 comments on commit 35092c3

Please sign in to comment.