mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°1026 - Portal requests are too slow
* Counts on union requests are more optimized * Requests for combo box values are more optimized SVN:trunk[5249]
This commit is contained in:
@@ -103,6 +103,7 @@ class BsSelectObjectFieldRenderer extends FieldRenderer
|
||||
$oOutput->AddHtml('<option value="">')->AddHtml(Dict::S('UI:SelectOne'), false)->AddHtml('</option>');
|
||||
// - Retrieving choices
|
||||
$oChoicesSet = new DBObjectSet($oSearch);
|
||||
$oChoicesSet->OptimizeColumnLoad(array($oSearch->GetClassAlias() => array('friendlyname')));
|
||||
while ($oChoice = $oChoicesSet->Fetch())
|
||||
{
|
||||
// Note : The test is a double equal on purpose as the type of the value received from the XHR is not always the same as the type of the allowed values. (eg : string vs int)
|
||||
|
||||
Reference in New Issue
Block a user