mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-05 16:42:53 +01:00
Fix: Le champ de tri des tableaux n'tait pas toujours mis en vidence
This commit is contained in:
@@ -954,7 +954,9 @@ function transcoS2L($zonein,$devise)
|
||||
function print_liste_field_titre($name, $file, $field, $begin="", $options="", $td="", $sortfield="")
|
||||
{
|
||||
global $conf;
|
||||
if ($sortfield == $field)
|
||||
// Le champ de tri est mis en <20>vidence.
|
||||
// Exemple si (sortfield,field)=("nom","xxx.nom") ou (sortfield,field)=("nom","nom")
|
||||
if ($sortfield == $field || $sortfield == ereg_replace("^[^\.]+\.","",$field))
|
||||
{
|
||||
print '<td class="menusel" '. $td.'>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user