Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion inc/deploygroup_staticdata.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static function showCriteriaAndSearch(PluginFusioninventoryDeployGroup $item) {
*/
static function showResults() {
if (isset($_SESSION['glpisearch']['PluginFusioninventoryComputer'])
&& isset($_SESSION['glpisearch']['PluginFusioninventoryComputer']['show_results'])) {
&& isset($_SESSION['glpisearch']['PluginFusioninventoryComputer']['id'])) {
$computers_params = $_SESSION['glpisearch']['PluginFusioninventoryComputer'];
}
$computers_params['metacriteria'] = [];
Expand All @@ -207,6 +207,7 @@ static function showResults() {
PluginFusioninventorySearch::constructDatas($data);

$data['search']['target'] = PluginFusioninventoryDeployGroup::getSearchEngineTargetURL($_GET['id'], false);

Search::displayData($data);
}

Expand Down