diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index aaa1fde1a72..5225a30786b 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -232,7 +232,7 @@ $sql.= $db->plimit($limit + 1, $offset); // Define type of elements $typeElementString = $form->selectarray("type_element",$elementTypeArray,GETPOST('type_element')); $button = ''; -$param="&sref=".$sref."&month=".$month."&year=".$year."&sprod_fulldescr=".$sprod_fulldescr."&socid=".$socid; +$param="&sref=".$sref."&month=".$month."&year=".$year."&sprod_fulldescr=".$sprod_fulldescr."&socid=".$socid."&type_element=".$type_element; print_barre_liste($langs->trans('ProductsIntoElements', $typeElementString.' '.$button), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num, '', '');