diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php
index 1ec9d498b9d..b6fe79b8d68 100644
--- a/htdocs/adherents/list.php
+++ b/htdocs/adherents/list.php
@@ -708,7 +708,7 @@ if (!empty($arrayfields['d.morphy']['checked'])) {
if (!empty($arrayfields['t.libelle']['checked'])) {
print '
';
$listetype = $membertypestatic->liste_array();
- print $form->selectarray("search_type", $listetype, $type, 1, 0, 0, '', 0, 32);
+ print $form->selectarray("search_type", $listetype, $search_type, 1, 0, 0, '', 0, 32);
print ' | ';
}
@@ -792,8 +792,8 @@ if (!empty($arrayfields['d.statut']['checked'])) {
$liststatus = array(
'-1'=>$langs->trans("Draft"),
'1'=>$langs->trans("Validated"),
- '0'=>$langs->trans("Resiliated"),
- '-2'=>$langs->trans("Excluded")
+ '0'=>$langs->trans("MemberStatusResiliatedShort"),
+ '-2'=>$langs->trans("MemberStatusExcludedShort")
);
print $form->selectarray('search_status', $liststatus, $search_status, -3);
print '';
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 43eb8f208db..fec54c8d688 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -6924,7 +6924,7 @@ class Form
if ($addjscombo && $jsbeautify) {
// Enhance with select2
include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php';
- $out .= ajax_combobox($htmlname);
+ $out .= ajax_combobox($htmlname, array(), 0, 0, 'resolve', $show_empty < 0 ? (string) $show_empty : '-1');
}
$out .= '