mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed a regression on the global search, introduced in the commit [3188]
SVN:trunk[3208]
This commit is contained in:
@@ -1447,10 +1447,10 @@ EOF
|
||||
}
|
||||
if ($iPos < count($aSearchClasses))
|
||||
{
|
||||
$sJSNeedle = addslashes($sFullText);
|
||||
$sJSNeedle = json_encode($aFullTextNeedles);
|
||||
$oPage->add_ready_script(
|
||||
<<<EOF
|
||||
var oParams = {operation: 'full_text_search', position: $iPos, text: '$sJSNeedle', count: $iCount, tune: $iTune};
|
||||
var oParams = {operation: 'full_text_search', position: $iPos, needles: $sJSNeedle, count: $iCount, tune: $iTune};
|
||||
$.post(GetAbsoluteUrlAppRoot()+'pages/ajax.render.php', oParams, function(data) {
|
||||
$('#full_text_results').append(data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user