From 8fbd53d72dcc4846b23bbc1ab7b0c53425330dc1 Mon Sep 17 00:00:00 2001 From: Bruno Da Silva Date: Thu, 14 Jun 2018 08:14:53 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01500=20Advanced=20search=20on=20external?= =?UTF-8?q?=20keys=20performance=20-=20bugfix:=20do=20not=20run=20both=20q?= =?UTF-8?q?ueries=20if=20nb=20result=20is=20>=3D=20150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5864] --- js/search/search_form_criteria_enum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/search/search_form_criteria_enum.js b/js/search/search_form_criteria_enum.js index d148706393..e932d5594c 100644 --- a/js/search/search_form_criteria_enum.js +++ b/js/search/search_form_criteria_enum.js @@ -370,9 +370,9 @@ $(function() me._onACSearchSuccess(oResponse); - if (oResponse.length > 150) + if (Object.keys(oResponse).length >= 150) { - this._emptyACTempHint(); + me._emptyACTempHint(); return; }