Ajout filtre sur le statut

This commit is contained in:
Rodolphe Quiedeville
2005-06-08 14:13:29 +00:00
parent 3caa4d2c89
commit fd39dc6ee9

View File

@@ -91,7 +91,7 @@ if ($_GET["search_client_facture"])
if (strlen($_GET["statut"]))
{
$sql .= " AND l.statut = ".$_GET["statut"];
$sql .= " AND c.statut = ".$_GET["statut"];
}
$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit+1, $offset);