mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
advanced search: removal of legacy_search_drawer_open
associated to this change, those wiki pages are altered : - latest:admin:itop_configuration_file (`legacy_search_drawer_open` removal) - latest:customization:xml_reference (`search_form_open` default value changed) SVN:trunk[5626]
This commit is contained in:
@@ -130,7 +130,10 @@ 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'));
|
||||
$oBlock->Display($oP, 0, array(
|
||||
'table_id' => 'search-widget-results-outer',
|
||||
'open' => false,
|
||||
));
|
||||
|
||||
// The object could be listed, check if it is actually allowed to view it
|
||||
$oSet = CMDBObjectSet::FromObject($oObj);
|
||||
@@ -194,7 +197,7 @@ function SetObjectBreadCrumbEntry(DBObject $oObj, WebPage $oPage)
|
||||
* @param $bDoSearch bool True to display the search results below the search form
|
||||
* @param $bSearchFormOpen bool True to display the search form fully expanded (only if $bSearchForm of course)
|
||||
*/
|
||||
function DisplaySearchSet($oP, $oFilter, $bSearchForm = true, $sBaseClass = '', $sFormat = '', $bDoSearch = true, $bSearchFormOpen = false)
|
||||
function DisplaySearchSet($oP, $oFilter, $bSearchForm = true, $sBaseClass = '', $sFormat = '', $bDoSearch = true, $bSearchFormOpen = true)
|
||||
{
|
||||
if ($bSearchForm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user