mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 09:38:48 +02:00
advanced search - merged commit (since sourceforge has lost our commit, this is a manual merge all all losts)
SVN:trunk[5638]
This commit is contained in:
15
pages/UI.php
15
pages/UI.php
@@ -128,12 +128,15 @@ function ReloadAndDisplay($oPage, $oObj, $sMessageId = '', $sMessage = '', $sSev
|
||||
function DisplayDetails($oP, $sClass, $oObj, $id)
|
||||
{
|
||||
$sClassLabel = MetaModel::GetName($sClass);
|
||||
$oSearch = new DBObjectSearch($sClass);
|
||||
$oBlock = new DisplayBlock($oSearch, 'search', false);
|
||||
$oBlock->Display($oP, 0, array(
|
||||
'table_id' => 'search-widget-results-outer',
|
||||
'open' => false,
|
||||
));
|
||||
|
||||
// 2018-04-11 : removal of the search block
|
||||
// $oSearch = new DBObjectSearch($sClass);
|
||||
// $oBlock = new DisplayBlock($oSearch, 'search', false);
|
||||
// $oBlock->Display($oP, 0, array(
|
||||
// 'table_id' => 'search-widget-results-outer',
|
||||
// 'open' => false,
|
||||
// 'update_history' => false,
|
||||
// ));
|
||||
|
||||
// The object could be listed, check if it is actually allowed to view it
|
||||
$oSet = CMDBObjectSet::FromObject($oObj);
|
||||
|
||||
Reference in New Issue
Block a user