From 9f020bb0a93d7cced159dd5d910f58543066b2ae Mon Sep 17 00:00:00 2001 From: simnandez Date: Mon, 30 Dec 2013 18:24:33 +0100 Subject: [PATCH] Fix: Ordering --- htdocs/societe/consumption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '', '');