This commit is contained in:
Laurent Destailleur 2026-01-05 19:52:34 +01:00
parent 8873639379
commit 41caa96dd8
2 changed files with 5 additions and 1 deletions

View file

@ -1627,7 +1627,7 @@ if (getDolGlobalString('MAIN_VIEW_LINE_NUMBER_IN_LIST')) {
// Ref
if (!empty($arrayfields['f.ref']['checked'])) {
print '<td class="liste_titre">';
print '<input class="flat maxwidth50imp" type="text" name="search_ref" value="'.dol_escape_htmltag($search_ref).'">';
print '<input class="flat maxwidth75imp" type="text" name="search_ref" value="'.dol_escape_htmltag($search_ref).'">';
print '</td>';
}
// Ref customer

View file

@ -1146,6 +1146,10 @@ class ExtraFields
$form = new Form($this->db);
}
if ($mode == 1) { // When field is used for search input into a list, we limit its size.
$morecss = 'maxwidth125';
}
$parameters = array(
'key' => $key,
'value' => &$value,