From 931bafe3801817fda45bf88e12d56a37ef0485b5 Mon Sep 17 00:00:00 2001 From: acognet Date: Wed, 10 Aug 2022 17:49:40 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05198=20-=20Inconsistent=20behavior=20in?= =?UTF-8?q?=20selection=20of=20combobox=20with=20more=20than=20150=20resul?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/ui.extkeywidget.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ui.extkeywidget.class.inc.php b/application/ui.extkeywidget.class.inc.php index 80c6c8be9..5f46a835d 100644 --- a/application/ui.extkeywidget.class.inc.php +++ b/application/ui.extkeywidget.class.inc.php @@ -823,7 +823,7 @@ JS elseif (!in_array($sContains, $aValues)) { $aValuesEquals = $oValuesSet->GetValuesForAutocomplete(array('this' => $oObj, 'current_extkey_id' => $iCurrentExtKeyId), $sContains, 'equals'); - $aValues = array_merge($aValuesEquals, $aValues); + $aValues = array_replace($aValuesEquals, $aValues); } switch($sOutputFormat)