Skip to content

Commit 35092c3

Browse files
committed
add global search (top right) declaration
1 parent 6e15211 commit 35092c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/object.class.php

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ static function registerType() {
140140
if ($item->canUseGlobalSearch()) {
141141
if (!in_array($class, $CFG_GLPI['state_types'])) {
142142
array_push($CFG_GLPI['state_types'], $class);
143+
array_push($CFG_GLPI['globalsearch_types'], $class);
143144
}
144145
}
145146

0 commit comments

Comments
 (0)