Fix: if option to select thirdparties using a combo box after n chars
was on, it was no more possible to clear the filter.
This commit is contained in:
parent
18fdb75c98
commit
74e8738ca7
@ -1016,6 +1016,7 @@ class Form
|
||||
// Do not use textempty = ' ' or ' ' here, or search on key will search on ' key'.
|
||||
//$textifempty=' ';
|
||||
//if (! empty($conf->use_javascript_ajax) || $forcecombo) $textifempty='';
|
||||
if (! empty($conf->global->COMPANY_USE_SEARCH_TO_SELECT)) $textifempty.=$langs->trans("NoFilter");
|
||||
if ($showempty) $out.= '<option value="-1">'.$textifempty.'</option>'."\n";
|
||||
|
||||
$num = $this->db->num_rows($resql);
|
||||
|
||||
@ -106,6 +106,7 @@ NotePrivate=Note (private)
|
||||
PrecisionUnitIsLimitedToXDecimals=Dolibarr was setup to limit precision of unit prices to <b>%s</b> decimals.
|
||||
DoTest=Test
|
||||
ToFilter=Filter
|
||||
NoFilter=No filter
|
||||
WarningYouHaveAtLeastOneTaskLate=Warning, you have at least one element that has exceeded the tolerance delay.
|
||||
yes=yes
|
||||
Yes=Yes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user