Fix sort not working if customer id in URL.
authorMaxime Bourget <bmx007@gmail.com>
Mon, 6 May 2013 20:01:27 +0000 (21:01 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Mon, 6 May 2013 20:01:27 +0000 (21:01 +0100)
order_lines_view.php

index 2b53170d4963c9a506ac64243591131b8eda3a6b..d289213d1fb5ace3824566a0bfab33e8fa170c06 100644 (file)
@@ -44,6 +44,7 @@ start_row();
 if(!isset($_POST['customer_id'])) {
        if(isset($_GET['customer_id'])) {
                $customer_id = $_GET['customer_id'];
 if(!isset($_POST['customer_id'])) {
        if(isset($_GET['customer_id'])) {
                $customer_id = $_GET['customer_id'];
+               $_POST['customer_id'] = $customer_id;
        }
 else $customer_id = null;
 
        }
 else $customer_id = null;