mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- completed the fix of the user object history (Trac #48)
- completed the implementation of truncated lists (Trac #61) - Fixed the handling of the search form in the details page (Trac #29) SVN:trunk[214]
This commit is contained in:
@@ -100,6 +100,12 @@ switch($operation)
|
||||
case 'ajax':
|
||||
if ($sFilter != "")
|
||||
{
|
||||
$sExtraParams = stripslashes(utils::ReadParam('extra_params', ''));
|
||||
$aExtraParams = array();
|
||||
if (!empty($sExtraParams))
|
||||
{
|
||||
$aExtraParams = json_decode(str_replace("'", '"', $sExtraParams), true /* associative array */);
|
||||
}
|
||||
if ($sEncoding == 'sibusql')
|
||||
{
|
||||
$oFilter = CMDBSearchFilter::FromSibusQL($sFilter);
|
||||
@@ -109,7 +115,7 @@ switch($operation)
|
||||
$oFilter = CMDBSearchFilter::unserialize($sFilter);
|
||||
}
|
||||
$oDisplayBlock = new DisplayBlock($oFilter, $sStyle, false);
|
||||
$oDisplayBlock->RenderContent($oPage);
|
||||
$oDisplayBlock->RenderContent($oPage, $aExtraParams);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user