mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°1500 Advanced search on external keys performance
- bugfix: do not run both queries if nb result is >= 150 SVN:trunk[5864]
This commit is contained in:
@@ -370,9 +370,9 @@ $(function()
|
|||||||
me._onACSearchSuccess(oResponse);
|
me._onACSearchSuccess(oResponse);
|
||||||
|
|
||||||
|
|
||||||
if (oResponse.length > 150)
|
if (Object.keys(oResponse).length >= 150)
|
||||||
{
|
{
|
||||||
this._emptyACTempHint();
|
me._emptyACTempHint();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user