mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Merge branch 'support/2.7.3' into support/2.7.4
This commit is contained in:
@@ -639,7 +639,7 @@ class ObjectController extends BrickController
|
|||||||
$oSet = new DBObjectSet($oSearch, array(), array('this' => $oHostObject, 'ac_query' => '%'.$sQuery.'%'));
|
$oSet = new DBObjectSet($oSearch, array(), array('this' => $oHostObject, 'ac_query' => '%'.$sQuery.'%'));
|
||||||
$oSet->OptimizeColumnLoad(array($oSearch->GetClassAlias() => array('friendlyname')));
|
$oSet->OptimizeColumnLoad(array($oSearch->GetClassAlias() => array('friendlyname')));
|
||||||
// Note : This limit is also used in the field renderer by typeahead to determine how many suggestions to display
|
// Note : This limit is also used in the field renderer by typeahead to determine how many suggestions to display
|
||||||
$oSet->SetLimit(MetaModel::GetConfig()->Get('max_display_limit'));
|
$oSet->SetLimit(MetaModel::GetConfig()->GetMaxDisplayLimit());
|
||||||
|
|
||||||
// - Retrieving objects
|
// - Retrieving objects
|
||||||
while ($oItem = $oSet->Fetch())
|
while ($oItem = $oSet->Fetch())
|
||||||
|
|||||||
Reference in New Issue
Block a user