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'.
|
// Do not use textempty = ' ' or ' ' here, or search on key will search on ' key'.
|
||||||
//$textifempty=' ';
|
//$textifempty=' ';
|
||||||
//if (! empty($conf->use_javascript_ajax) || $forcecombo) $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";
|
if ($showempty) $out.= '<option value="-1">'.$textifempty.'</option>'."\n";
|
||||||
|
|
||||||
$num = $this->db->num_rows($resql);
|
$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.
|
PrecisionUnitIsLimitedToXDecimals=Dolibarr was setup to limit precision of unit prices to <b>%s</b> decimals.
|
||||||
DoTest=Test
|
DoTest=Test
|
||||||
ToFilter=Filter
|
ToFilter=Filter
|
||||||
|
NoFilter=No filter
|
||||||
WarningYouHaveAtLeastOneTaskLate=Warning, you have at least one element that has exceeded the tolerance delay.
|
WarningYouHaveAtLeastOneTaskLate=Warning, you have at least one element that has exceeded the tolerance delay.
|
||||||
yes=yes
|
yes=yes
|
||||||
Yes=Yes
|
Yes=Yes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user