diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index a9d9b970c02..f57334785ad 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -35,6 +35,7 @@ $sortorder=$_GET["sortorder"]; $sortfield=$_GET["sortfield"]; $page=$_GET["page"]; $socid=$_GET["socid"]; +$type=$_GET["type"]; /* @@ -127,7 +128,7 @@ if ($result) { $num = $db->num_rows(); - print_barre_liste("Liste des contacts $label",$page, "contact.php", "",$sortfield,$sortorder,"",$num); + print_barre_liste("Liste des contacts $label",$page, "contact.php", "&type=$type",$sortfield,$sortorder,"",$num); print "
| '; - print_liste_field_titre("Nom","contact.php","lower(p.name)", $begin); + print_liste_field_titre("Nom","contact.php","lower(p.name)", $begin,"&type=$type"); print " | "; - print_liste_field_titre("Prénom","contact.php","lower(p.firstname)", $begin); + print_liste_field_titre("Prénom","contact.php","lower(p.firstname)", $begin,"&type=$type"); print " | "; - print_liste_field_titre("Société","contact.php","lower(s.nom)", $begin); + print_liste_field_titre("Société","contact.php","lower(s.nom)", $begin,"&type=$type"); print " | Téléphone | '; print "