diff --git a/htdocs/telephonie/ligne/commande/liste.php b/htdocs/telephonie/ligne/commande/liste.php index 2f553ed2603..7c4f4ffe6f8 100644 --- a/htdocs/telephonie/ligne/commande/liste.php +++ b/htdocs/telephonie/ligne/commande/liste.php @@ -86,6 +86,7 @@ $sql .= ",".MAIN_DB_PREFIX."societe as sf"; $sql .= " WHERE l.fk_soc = s.idp "; $sql .= " AND l.fk_fournisseur = f.rowid "; $sql .= " AND l.statut IN (-1,1,4) "; +$sql .= " AND l.techno = 'presel'"; $sql .= " AND l.fk_soc_facture = sf.idp"; $sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit+1, $offset);