Changement de l'ordre de tri par défaut
This commit is contained in:
parent
779a5d6e75
commit
d28f09591e
@ -37,7 +37,7 @@ if ($sortorder == "")
|
|||||||
}
|
}
|
||||||
if ($sortfield == "")
|
if ($sortfield == "")
|
||||||
{
|
{
|
||||||
$sortfield="nom";
|
$sortfield="f.datei";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ if ($user->societe_id > 0) {
|
|||||||
$sql .= " AND s.idp = " . $user->societe_id;
|
$sql .= " AND s.idp = " . $user->societe_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql .= " ORDER BY f.datei DESC ;";
|
$sql .= " ORDER BY $sortfield DESC ;";
|
||||||
|
|
||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user